{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/19","repository_url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper","labels_url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/19/comments","events_url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/19/events","html_url":"https://github.com/puppetlabs/beaker-puppet_install_helper/issues/19","id":185985916,"number":19,"title":"Improve docs","user":{"login":"wyardley","id":10714426,"avatar_url":"https://avatars.githubusercontent.com/u/10714426?v=3","gravatar_id":"","url":"https://api.github.com/users/wyardley","html_url":"https://github.com/wyardley","followers_url":"https://api.github.com/users/wyardley/followers","following_url":"https://api.github.com/users/wyardley/following{/other_user}","gists_url":"https://api.github.com/users/wyardley/gists{/gist_id}","starred_url":"https://api.github.com/users/wyardley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyardley/subscriptions","organizations_url":"https://api.github.com/users/wyardley/orgs","repos_url":"https://api.github.com/users/wyardley/repos","events_url":"https://api.github.com/users/wyardley/events{/privacy}","received_events_url":"https://api.github.com/users/wyardley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-28T18:08:48Z","updated_at":"2016-11-07T23:09:47Z","closed_at":null,"body":"It would be great if the docs could explain how to specify install type etc. via the nodeset's yaml config vs. just env variables (e.g.,  `PUPPET_INSTALL_TYPE`, `PUPPET_INSTALL_VERSION`). If I set\n\n```\nCONFIG:\n  type: agent\n```\n\nin the YAML config for the node, it still seems to try and install Puppet 3 (which fails). \n\nhttps://tickets.puppetlabs.com/browse/BKR-970 explains how to install puppet 4.x agent (`install_puppet_agent_on(hosts, options)`); is there an equivalent for this helper? Since this is intended to be a wrapper, would also be nice if it could default to Puppet 4 on platforms that don't support 3 (see error in https://tickets.puppetlabs.com/browse/BKR-970).\n"},"comment":{"url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/comments/258993442","html_url":"https://github.com/puppetlabs/beaker-puppet_install_helper/issues/19#issuecomment-258993442","issue_url":"https://api.github.com/repos/puppetlabs/beaker-puppet_install_helper/issues/19","id":258993442,"user":{"login":"wyardley","id":10714426,"avatar_url":"https://avatars.githubusercontent.com/u/10714426?v=3","gravatar_id":"","url":"https://api.github.com/users/wyardley","html_url":"https://github.com/wyardley","followers_url":"https://api.github.com/users/wyardley/followers","following_url":"https://api.github.com/users/wyardley/following{/other_user}","gists_url":"https://api.github.com/users/wyardley/gists{/gist_id}","starred_url":"https://api.github.com/users/wyardley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyardley/subscriptions","organizations_url":"https://api.github.com/users/wyardley/orgs","repos_url":"https://api.github.com/users/wyardley/repos","events_url":"https://api.github.com/users/wyardley/events{/privacy}","received_events_url":"https://api.github.com/users/wyardley/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T23:09:47Z","updated_at":"2016-11-07T23:09:47Z","body":"Based on @dhoppe's comment, it seems like \r\n```\r\nCONFIG:\r\n  type: agent\r\n```\r\nshould work after all? https://github.com/puppetlabs/beaker-puppet_install_helper/blob/master/lib/beaker/puppet_install_helper.rb#L77-L86"}}
{"actor":{"display_login":"wyardley"}}