Mercurial > repos > other > Puppet
diff modules/vcs/manifests/init.pp @ 0:956e484adc12
Initial public release of Puppet configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Aug 2014 19:47:38 +0000 |
parents | |
children | 0dd899a10ee1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/vcs/manifests/init.pp Sat Aug 16 19:47:38 2014 +0000 @@ -0,0 +1,23 @@ +class vcs { + @package { [ + "mercurial", + "mercurial_keyring", + "git" + ]: + ensure => latest + } +} + +class vcs::client inherits vcs { + realize(Package["mercurial"], + Package["mercurial_keyring"], + Package["git"]) + package { "hgview": + ensure => latest; + } +} + +class vcs::server inherits vcs { + realize(Package["mercurial"], + Package["git"]) +}