config.vm.provision "puppet" do |puppet| puppet.environment = "production" puppet.environment_path = "../../" puppet.manifests_path = "vmconfig/manifests" puppet.manifest_file = "init.pp" puppet.module_path = "vmconfig/modules" end
Technology solutions for Systems Engineers and Admins. Linux, Windows, scripts, and code.
Wednesday, March 9, 2016
vagrant with Puppet 4.x - Could not parse application options: invalid option: --manifestdir
There's a bug with Vagrant <= 1.81 and Puppet 4.x where it cannot execute the Puppet provisioner since Puppet no longer supports the --manifestdir option. The easy solution is set the Puppet environment and path on the Puppet provisioner. Your vagrant file should now look like:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment