From: Mark Tearle Date: Sun, 30 Nov 2014 09:25:33 +0000 (+0800) Subject: Add Virtualsnack X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5a2cfe186044081545374f14805000e2cf8a3ed2;p=uccvend-vagrant.git Add Virtualsnack --- diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 095d258..b2da6a4 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -15,4 +15,4 @@ file { "/vagrant/code": } include uccvend-snackrom -#include x11-common +include virtualsnack diff --git a/puppet/modules/virtualsnack/manifests/init.pp b/puppet/modules/virtualsnack/manifests/init.pp new file mode 100644 index 0000000..f13e8ed --- /dev/null +++ b/puppet/modules/virtualsnack/manifests/init.pp @@ -0,0 +1,24 @@ +# == Class: virtualsnack +# +class virtualsnack { + package { 'python3': + ensure => present, + } + + package { 'python-pip': + ensure => present, + } + + package { 'npyscreen': + provider => pip, + ensure => present, + } + + vcsrepo { "/vagrant/code/virtualsnack": + ensure => present, + provider => git, + require => [ Package[ 'git' ] ], + source => "https://github.com/ucc/virtualsnack.git", + revision => 'master', + } +}