From 063f672aec4ada8a894ccb75fc7da01b34148390 Mon Sep 17 00:00:00 2001 From: Mark Tearle Date: Fri, 5 Dec 2014 21:54:08 +0800 Subject: [PATCH] Add vendserver --- puppet/manifests/init.pp | 1 + .../modules/uccvend-vendserver/manifests/init.pp | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 puppet/modules/uccvend-vendserver/manifests/init.pp 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', + } +} -- 2.20.1