# # }
#
+ # Install relevant puppet modules
+
+ config.vm.provision :shell, :run => "always" do |shell|
+ shell.inline = %{
+ mkdir -p /etc/puppet/modules;
+ function install_module {
+ folder=`echo $1 | sed s/.*-//`
+ if [ ! -d /etc/puppet/modules/$folder ]; then
+ puppet module install $1
+ fi
+ }
+ install_module puppetlabs-vcsrepo
+# install_module stdlib
+# install_module apt
+# install_module ruby
+ }
+ end
+
+
+ # Now run puppet
+
config.vm.provision :puppet do |puppet|
#puppet.facter = {
# "kiosk_url" => "http://map.ipviking.com/",