{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/5615","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5615/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5615/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5615/events","html_url":"https://github.com/mitchellh/vagrant/issues/5615","id":69747913,"number":5615,"title":"puppet 4.0.0 provision is not working","user":{"login":"leitu","id":2867202,"avatar_url":"https://avatars.githubusercontent.com/u/2867202?v=3","gravatar_id":"","url":"https://api.github.com/users/leitu","html_url":"https://github.com/leitu","followers_url":"https://api.github.com/users/leitu/followers","following_url":"https://api.github.com/users/leitu/following{/other_user}","gists_url":"https://api.github.com/users/leitu/gists{/gist_id}","starred_url":"https://api.github.com/users/leitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leitu/subscriptions","organizations_url":"https://api.github.com/users/leitu/orgs","repos_url":"https://api.github.com/users/leitu/repos","events_url":"https://api.github.com/users/leitu/events{/privacy}","received_events_url":"https://api.github.com/users/leitu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/provisioner/puppet","name":"provisioner/puppet","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-04-21T05:28:34Z","updated_at":"2015-10-24T20:28:40Z","closed_at":"2015-05-31T04:19:53Z","body":"puppet 4.x remove the manifestdir\r\n\r\n```\r\n ==> default: Error: Could not parse application options: invalid option: --manifestdir\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/150847928","html_url":"https://github.com/mitchellh/vagrant/issues/5615#issuecomment-150847928","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5615","id":150847928,"user":{"login":"goffinf","id":2772752,"avatar_url":"https://avatars.githubusercontent.com/u/2772752?v=3","gravatar_id":"","url":"https://api.github.com/users/goffinf","html_url":"https://github.com/goffinf","followers_url":"https://api.github.com/users/goffinf/followers","following_url":"https://api.github.com/users/goffinf/following{/other_user}","gists_url":"https://api.github.com/users/goffinf/gists{/gist_id}","starred_url":"https://api.github.com/users/goffinf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goffinf/subscriptions","organizations_url":"https://api.github.com/users/goffinf/orgs","repos_url":"https://api.github.com/users/goffinf/repos","events_url":"https://api.github.com/users/goffinf/events{/privacy}","received_events_url":"https://api.github.com/users/goffinf/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T20:28:40Z","updated_at":"2015-10-24T20:28:40Z","body":"Yep, works for me.\n\nOn 23/10/2015, Fabio <notifications@github.com> wrote:\n> I solved this thanks to the antani.\n>\n> In your folder, please create a subfolder for the environments. Name it as\n> you like (i.e. \"environments\"), then inside of it create a subfolder for\n> your environment (i.e. \"test\").\n> Inside of that place your manifests folder, in which you will place the\n> site.pp file.\n>\n> Like this:\n>\n> ```\n> $ tree\n> .\n> |-- manifests\n> |   `-- default.pp\n> |-- puppet-env\n> |   `-- test\n> |       `-- manifests\n> |           `-- site.pp\n> `-- Vagrantfile\n> ```\n>\n> Then you have to define what environment you are going to use in the\n> Vagrantfile:\n>\n> ```\n> Vagrant.configure(\"2\") do |config|\n>   config.vm.box = \"puppetlabs/centos-7.0-64-puppet\"\n>   config.vm.box_version = \"1.0.2\"\n>   config.vm.provision \"puppet\" do |puppet|\n>     puppet.environment_path = \"puppet-env\"\n>     puppet.environment = \"test\"\n>   end\n> end\n> ```\n>\n> Ta-dah! You are using vagrant 1.7.4 with puppet 4.X.\n>\n> Now, I really thing that the documentation at\n> https://docs.vagrantup.com/v2/provisioning/puppet_apply.html should be\n> updated to reflect this, as the very first introduction (named \"the bare\n> minimum\") is just not going to work any longer with the current version of\n> puppet.\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/mitchellh/vagrant/issues/5615#issuecomment-150589920\n"}}