From: Mark Tearle Date: Sat, 29 Nov 2014 14:14:02 +0000 (+0800) Subject: Initial puppet manifest X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=367d8d975dfeb5df84e9d7091a47e113602c27f7;p=uccvend-vagrant.git Initial puppet manifest --- diff --git a/Vagrantfile b/Vagrantfile index 841e945..f45d3eb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -74,16 +74,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # # } # - #config.vm.provision :puppet do |puppet| + config.vm.provision :puppet do |puppet| #puppet.facter = { # "kiosk_url" => "http://map.ipviking.com/", #} - # puppet.manifests_path = "puppet/manifests" + puppet.manifests_path = "puppet/manifests" - # puppet.module_path = "puppet/modules" - # puppet.manifest_file = "init.pp" - # puppet.options = "--verbose --debug" - #end + puppet.module_path = "puppet/modules" + puppet.manifest_file = "init.pp" + puppet.options = "--verbose --debug" + end end diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp new file mode 100644 index 0000000..247fede --- /dev/null +++ b/puppet/manifests/init.pp @@ -0,0 +1,10 @@ +exec { 'apt-get update': + path => '/usr/bin', +} + +package { 'vim': + ensure => present, +} + +#include xorg +#include x11-common