{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/9","labels_url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/9/comments","events_url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/9/events","html_url":"https://github.com/mozilla-it/puppetctl/issues/9","id":19997207,"number":9,"title":"use of `puppet agent --enable` and `puppet agent --disable`","user":{"login":"neoice","id":71924,"avatar_url":"https://avatars.githubusercontent.com/u/71924?v=3","gravatar_id":"","url":"https://api.github.com/users/neoice","html_url":"https://github.com/neoice","followers_url":"https://api.github.com/users/neoice/followers","following_url":"https://api.github.com/users/neoice/following{/other_user}","gists_url":"https://api.github.com/users/neoice/gists{/gist_id}","starred_url":"https://api.github.com/users/neoice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoice/subscriptions","organizations_url":"https://api.github.com/users/neoice/orgs","repos_url":"https://api.github.com/users/neoice/repos","events_url":"https://api.github.com/users/neoice/events{/privacy}","received_events_url":"https://api.github.com/users/neoice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2013-09-24T18:38:52Z","updated_at":"2015-04-15T18:28:20Z","closed_at":null,"body":"I'm investigating mcollective and it is aware of the Puppet3 `--enable` and `--disable` flags.\r\n\r\n    root@test3:~# puppet agent --disable \"this is a test message\"\r\n    root@test3:~# cat /var/lib/puppet/state/agent_disabled.lock  \r\n    {\"disabled_message\":\"this is a test message\"}#\r\n\r\nusing these flags allows mcollective to perform puppet runs on enabled hosts but not disabled hosts. in my current infrastructure using puppetctl, mcollective will run on puppetctl disabled hosts.\r\n\r\n`puppet agent --disable` isn't as smart as `puppetctl`: there's no timed disables or motd modification.\r\n\r\nif I wind up modifying puppetctl to support mcollective, are you interested in including the changeset in upstream? I think it might be as simple as *also* doing a `puppet agent --{en,dis}able` for the corresponding puppetctl actions."},"comment":{"url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/comments/93522266","html_url":"https://github.com/mozilla-it/puppetctl/issues/9#issuecomment-93522266","issue_url":"https://api.github.com/repos/mozilla-it/puppetctl/issues/9","id":93522266,"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},"created_at":"2015-04-15T18:28:20Z","updated_at":"2015-04-15T18:28:20Z","body":"I just merged an update for you"}}