diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index 095d258d6cb8a90ad4b215e14f8f4ae6627748cd..b2da6a427c6b43b2e474fadd4125d4871496a67e 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 0000000000000000000000000000000000000000..f13e8ede52bd894ed215ac1e3e107a1ee7f5a1f4 --- /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', + } +}