Initial revision of puppet module to checkout uccvend-snackrom
authorMark Tearle <[email protected]>
Sat, 29 Nov 2014 14:59:48 +0000 (22:59 +0800)
committerMark Tearle <[email protected]>
Sat, 29 Nov 2014 14:59:48 +0000 (22:59 +0800)
.gitignore
puppet/manifests/init.pp
puppet/modules/uccvend-snackrom/manifests/init.pp [new file with mode: 0644]

index 2c72071..51f639e 100644 (file)
@@ -1 +1,2 @@
 .vagrant/*
+code/*
index 0353d72..095d258 100644 (file)
@@ -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 (file)
index 0000000..2d13164
--- /dev/null
@@ -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',
+       }
+}

UCC git Repository :: git.ucc.asn.au