From 367d8d975dfeb5df84e9d7091a47e113602c27f7 Mon Sep 17 00:00:00 2001 From: Mark Tearle Date: Sat, 29 Nov 2014 22:14:02 +0800 Subject: [PATCH] Initial puppet manifest --- Vagrantfile | 12 ++++++------ puppet/manifests/init.pp | 10 ++++++++++ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 puppet/manifests/init.pp 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 -- 2.20.1