Initial puppet manifest
authorMark Tearle <[email protected]>
Sat, 29 Nov 2014 14:14:02 +0000 (22:14 +0800)
committerMark Tearle <[email protected]>
Sat, 29 Nov 2014 14:14:02 +0000 (22:14 +0800)
Vagrantfile
puppet/manifests/init.pp [new file with mode: 0644]

index 841e945..f45d3eb 100644 (file)
@@ -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.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
 
 end
diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp
new file mode 100644 (file)
index 0000000..247fede
--- /dev/null
@@ -0,0 +1,10 @@
+exec { 'apt-get update':
+  path => '/usr/bin',
+}
+
+package { 'vim':
+  ensure => present,
+}
+
+#include xorg
+#include x11-common

UCC git Repository :: git.ucc.asn.au