Add opendispense2
authorMark Tearle <mark@tearle.com>
Sun, 30 Nov 2014 11:00:25 +0000 (19:00 +0800)
committerMark Tearle <mark@tearle.com>
Sun, 30 Nov 2014 11:00:25 +0000 (19:00 +0800)
puppet/manifests/init.pp
puppet/modules/opendispense2/manifests/init.pp [new file with mode: 0644]

index b2da6a4..2ec9d30 100644 (file)
@@ -16,3 +16,4 @@ file { "/vagrant/code":
 
 include uccvend-snackrom
 include virtualsnack
+include opendispense2
diff --git a/puppet/modules/opendispense2/manifests/init.pp b/puppet/modules/opendispense2/manifests/init.pp
new file mode 100644 (file)
index 0000000..8c77ca5
--- /dev/null
@@ -0,0 +1,39 @@
+# == Class: opendispense2
+#
+class opendispense2 {
+       package { 'libncurses5-dev':
+         ensure => present,
+       }
+       
+       package { 'libsqlite3-0':
+         ensure => present,
+       }
+       
+       package { 'libsqlite3-dev':
+         ensure => present,
+       }
+       
+       package { 'libident':
+         ensure => present,
+       }
+       
+       package { 'libident-dev':
+         ensure => present,
+       }
+       
+       package { 'libmodbus5':
+         ensure => present,
+       }
+       
+       package { 'libmodbus-dev':
+         ensure => present,
+       }
+       
+       vcsrepo { "/vagrant/code/opendispense2":
+         ensure => present,
+         provider => git,
+         require => [ Package[ 'git' ] ],
+         source => "git://git.ucc.asn.au/tpg/opendispense2.git",
+         revision => 'master',
+       }
+}

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