From: Mark Tearle Date: Fri, 5 Dec 2014 13:54:08 +0000 (+0800) Subject: Add vendserver X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=063f672aec4ada8a894ccb75fc7da01b34148390;p=uccvend-vagrant.git Add vendserver --- diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 2ec9d30..ffeca85 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -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 index 0000000..657d101 --- /dev/null +++ b/puppet/modules/uccvend-vendserver/manifests/init.pp @@ -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', + } +}