{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/3740","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/3740/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/3740/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/3740/events","html_url":"https://github.com/mitchellh/vagrant/issues/3740","id":33200998,"number":3740,"title":"manifestdir is deprecated in Puppet 3.6.0","user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/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":72,"created_at":"2014-05-09T19:24:44Z","updated_at":"2015-11-03T11:52:25Z","closed_at":"2015-05-31T04:09:08Z","body":"manifest now has the ability to take a directory or fully qualified path to a manifest file. If it is a directory it will parse all files in there and run the result.\r\n\r\n\r\nHeads up what you are going to start seeing issues on:\r\n\r\n==> default: Running provisioner: puppet...\r\nRunning Puppet with /tmp/vagrant-puppet-4/manifests/site.pp...\r\nWarning: Setting manifestdir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations\r\n   (at c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/settings.rb:260:in `block (2 levels) in parse_global_options'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/puppet_option_parser.rb:81:in `call'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/puppet_option_parser.rb:81:in `block in pass_only_last_value_on_to'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/trollop.rb:432:in `call'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/trollop.rb:432:in `block in parse'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/trollop.rb:393:in `each'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/trollop.rb:393:in `parse'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line/puppet_option_parser.rb:74:in `parse'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/settings.rb:270:in `parse_global_options'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/settings.rb:239:in `initialize_global_settings'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet.rb:150:in `do_initialize_settings_for_run_mode'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet.rb:136:in `initialize_settings'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:86:in `block in execute'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:479:in `exit_on_fail'; c:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:85:in `execute'; c:/Program Files/Puppet Labs/Puppet/puppet/bin/puppet:4:in `<main>')\r\n\r\n\r\nI'm thinking we can change the provisioner from this:\r\n```ruby\r\n config.vm.provision :puppet, :options => [\"--debug --trace --verbose\"] do |puppet|\r\n    puppet.manifests_path = \"puppet/manifests\"\r\n    puppet.manifest_file  = \"site.pp\"\r\n    puppet.module_path = \"puppet/modules\"\r\n  end\r\n```\r\nto this:\r\n```ruby\r\n config.vm.provision :puppet, :options => [\"--debug --trace --verbose\"] do |puppet|\r\n    puppet.manifest_file  = \"puppet/manifests/site.pp\"\r\n    puppet.module_path = \"puppet/modules\"\r\n  end\r\n```\r\nor try something else? Thoughts?\r\n\r\nFrom my comments below, leave the Ux the same and merge the options together and provide them to puppet as one setting.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/153329575","html_url":"https://github.com/mitchellh/vagrant/issues/3740#issuecomment-153329575","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/3740","id":153329575,"user":{"login":"martijn","id":107915,"avatar_url":"https://avatars.githubusercontent.com/u/107915?v=3","gravatar_id":"","url":"https://api.github.com/users/martijn","html_url":"https://github.com/martijn","followers_url":"https://api.github.com/users/martijn/followers","following_url":"https://api.github.com/users/martijn/following{/other_user}","gists_url":"https://api.github.com/users/martijn/gists{/gist_id}","starred_url":"https://api.github.com/users/martijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijn/subscriptions","organizations_url":"https://api.github.com/users/martijn/orgs","repos_url":"https://api.github.com/users/martijn/repos","events_url":"https://api.github.com/users/martijn/events{/privacy}","received_events_url":"https://api.github.com/users/martijn/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T11:52:25Z","updated_at":"2015-11-03T11:52:25Z","body":"Ok I missed the whole environments / Puppet 4 thing (should've read the changelog). I'm going to try it out but I assume that fixes the issue. Thanks for clarifying @benh57 "}}