From: Mark Tearle Date: Sat, 29 Nov 2014 14:59:48 +0000 (+0800) Subject: Initial revision of puppet module to checkout uccvend-snackrom X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=353b2521ea4e32305a62ed1b3f880e03709e5b14;p=uccvend-vagrant.git Initial revision of puppet module to checkout uccvend-snackrom --- diff --git a/.gitignore b/.gitignore index 2c72071..51f639e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .vagrant/* +code/* diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 0353d72..095d258 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -10,5 +10,9 @@ package { 'git': ensure => present, } -#include xorg +file { "/vagrant/code": + ensure => directory, +} + +include uccvend-snackrom #include x11-common diff --git a/puppet/modules/uccvend-snackrom/manifests/init.pp b/puppet/modules/uccvend-snackrom/manifests/init.pp new file mode 100644 index 0000000..2d13164 --- /dev/null +++ b/puppet/modules/uccvend-snackrom/manifests/init.pp @@ -0,0 +1,11 @@ +# == Class: snackrom +# +class uccvend-snackrom { + vcsrepo { "/vagrant/code/uccvend-snackrom": + ensure => present, + provider => git, + require => [ Package[ 'git' ] ], + source => "git://git.ucc.asn.au/uccvend-snackrom.git", + revision => 'master', + } +}