{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6163","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6163/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6163/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6163/events","html_url":"https://github.com/mitchellh/vagrant/issues/6163","id":101885761,"number":6163,"title":"Vagrant 1.7.4 Puppet 4 environment issue with specific manifest_file","user":{"login":"biemond","id":1085004,"avatar_url":"https://avatars.githubusercontent.com/u/1085004?v=3","gravatar_id":"","url":"https://api.github.com/users/biemond","html_url":"https://github.com/biemond","followers_url":"https://api.github.com/users/biemond/followers","following_url":"https://api.github.com/users/biemond/following{/other_user}","gists_url":"https://api.github.com/users/biemond/gists{/gist_id}","starred_url":"https://api.github.com/users/biemond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biemond/subscriptions","organizations_url":"https://api.github.com/users/biemond/orgs","repos_url":"https://api.github.com/users/biemond/repos","events_url":"https://api.github.com/users/biemond/events{/privacy}","received_events_url":"https://api.github.com/users/biemond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/bug","name":"bug","color":"e11d21"},{"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":3,"created_at":"2015-08-19T12:52:06Z","updated_at":"2015-11-19T03:14:29Z","closed_at":"2015-11-19T03:14:29Z","body":"I get this error when I want to use a specific manifest file inside the environment manifest folder\r\nnow I have to remove the manifest_file and use site.pp, I like to use node.pp on other vagrant instances\r\n\r\nthe stacktrace\r\n\r\n    /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/provisioners/puppet/provisioner/puppet.rb:128:in `manifests_guest_path': undefined method `[]' for nil:NilClass (NoMethodError)\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/provisioners/puppet/provisioner/puppet.rb:46:in `configure'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/provision.rb:76:in `block in call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/provision.rb:75:in `each'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/provision.rb:75:in `call'\r\n\r\n\r\nmy config \r\n\r\n    admin.vm.provision :puppet do |puppet|\r\n       puppet.binary_path       = \"/opt/puppetlabs/bin\"\r\n       puppet.environment_path  = \"puppet/environments\"\r\n       puppet.environment       = \"development\"\r\n       puppet.module_path       = \"puppet/modules\"\r\n       puppet.manifest_file     = \"site.pp\"\r\n       puppet.options           = [\r\n                                  '--verbose',\r\n                                  '--report',\r\n                                  '--trace',\r\n                                  '--debug',\r\n                                  '--parser future',\r\n                                  '--strict_variables',\r\n                                  '--hiera_config /vagrant/puppet/hiera.yaml'\r\n                                 ]\r\n      puppet.facter = {\r\n        \"environment\"     => \"development\",\r\n        \"vm_type\"         => \"vagrant\",\r\n      }\r\n\r\nthanks"}}