From f158d699765d09d2e0c46cc938d2a28470f8de0f Mon Sep 17 00:00:00 2001 From: Mark Tearle Date: Sun, 30 Nov 2014 19:00:25 +0800 Subject: [PATCH] Add opendispense2 --- puppet/manifests/init.pp | 1 + .../modules/opendispense2/manifests/init.pp | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 puppet/modules/opendispense2/manifests/init.pp diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index b2da6a4..2ec9d30 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -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 index 0000000..8c77ca5 --- /dev/null +++ b/puppet/modules/opendispense2/manifests/init.pp @@ -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', + } +} -- 2.20.1