ruby - Problems running Vagrant/Puppet on osx 10.7 -


I am just starting with the bus and I am able to run a virtualbox but now I want to automate that software Which is installed on it.

I have in my Vagrantfile:

  Vagrant :: Config .run do | Config | Config.vm.box = "precise64" config.vm.forward_port 80, 9090 config.vm.forward_port 27017, 27017 config.vm.provision: Puppet | Puppet | I have in MapleFet / Default.pp:  
  Exec {/ p>   

path = & gt; ["/ Bin /", "/ sbin /", "/ usr / bin /", "/ usr / sbin /"] class php5 {package {"php5": confirm = & gt; Current,}} contains php5

However, when I run vagrant up I get the following error (snippet)

 

Ruby version

  $ ruby ​​-v Ruby 1.8.7 (2011-12-28 Patchleval 357) [Saar Bhowmick-Darwin 11.0]   

Gem Sources

  $ gem source *** Current Source *** http://rubygems.org/   Update 1:  After that I installed and fast and puppet is now running fine but the main problem is still happening.  

Update 2: The correct answer is marked, but I would like to share my entire manifest file

Comments