{"action":"opened","issue":{"url":"https://api.github.com/repos/Nubisproject/nubis-builder/issues/6","labels_url":"https://api.github.com/repos/Nubisproject/nubis-builder/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Nubisproject/nubis-builder/issues/6/comments","events_url":"https://api.github.com/repos/Nubisproject/nubis-builder/issues/6/events","html_url":"https://github.com/Nubisproject/nubis-builder/issues/6","id":58428733,"number":6,"title":"Add puppet provisioner that will be used for projects","user":{"login":"bhourigan","id":1169028,"avatar_url":"https://avatars.githubusercontent.com/u/1169028?v=3","gravatar_id":"","url":"https://api.github.com/users/bhourigan","html_url":"https://github.com/bhourigan","followers_url":"https://api.github.com/users/bhourigan/followers","following_url":"https://api.github.com/users/bhourigan/following{/other_user}","gists_url":"https://api.github.com/users/bhourigan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhourigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhourigan/subscriptions","organizations_url":"https://api.github.com/users/bhourigan/orgs","repos_url":"https://api.github.com/users/bhourigan/repos","events_url":"https://api.github.com/users/bhourigan/events{/privacy}","received_events_url":"https://api.github.com/users/bhourigan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-21T00:15:30Z","updated_at":"2015-02-21T00:15:30Z","closed_at":null,"body":"Right now librarian puppet is baked in which is used in base, but we'll need to use a specific provisioner to build on top of nubis-base:\r\n\r\n{\r\n    \"type\": \"puppet-masterless\",\r\n    \"manifest_dir\": \"nubis/puppet\",\r\n    \"manifest_file\": \"nubis/puppet/init.pp\",\r\n    \"execute_command\": \"{{.FacterVars}} {{if .Sudo}} sudo -E {{end}} puppet apply --verbose --modulepath='/etc/nubis-puppet/' {{if ne .HieraConfigPath \\\"\\\"}}--hiera_config='{{.HieraConfigPath}}' {{end}} {{if ne .ManifestDir \\\"\\\"}}--manifestdir='{{.ManifestDir}}' {{end}} --detailed-exitcodes {{.ManifestFile}}\",\r\n    \"facter\": {\r\n        \"ami_release\": \"{{user `release`}}\"\r\n    }\r\n}"}}