Add vendserver
authorMark Tearle <[email protected]>
Fri, 5 Dec 2014 13:54:08 +0000 (21:54 +0800)
committerMark Tearle <[email protected]>
Fri, 5 Dec 2014 13:54:08 +0000 (21:54 +0800)
puppet/manifests/init.pp
puppet/modules/uccvend-vendserver/manifests/init.pp [new file with mode: 0644]

index 2ec9d30..ffeca85 100644 (file)
@@ -17,3 +17,4 @@ file { "/vagrant/code":
 include uccvend-snackrom
 include virtualsnack
 include opendispense2
+include uccvend-vendserver
diff --git a/puppet/modules/uccvend-vendserver/manifests/init.pp b/puppet/modules/uccvend-vendserver/manifests/init.pp
new file mode 100644 (file)
index 0000000..657d101
--- /dev/null
@@ -0,0 +1,15 @@
+# == Class: vendserver
+#
+class uccvend-vendserver {
+       package { 'python-ldap':
+         ensure => present,
+       }
+
+       vcsrepo { "/vagrant/code/uccvend-vendserver":
+         ensure => present,
+         provider => git,
+         require => [ Package[ 'git' ] ],
+         source => "git://git.ucc.asn.au/uccvend-vendserver.git",
+         revision => 'master',
+       }
+}

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