{"action":"opened","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3947","labels_url":"https://api.github.com/repos/chef/chef/issues/3947/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3947/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3947/events","html_url":"https://github.com/chef/chef/issues/3947","id":107792570,"number":3947,"title":"add --policy-name and --policy-group options to chef-client","user":{"login":"jtimberman","id":12483,"avatar_url":"https://avatars.githubusercontent.com/u/12483?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimberman","html_url":"https://github.com/jtimberman","followers_url":"https://api.github.com/users/jtimberman/followers","following_url":"https://api.github.com/users/jtimberman/following{/other_user}","gists_url":"https://api.github.com/users/jtimberman/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimberman/subscriptions","organizations_url":"https://api.github.com/users/jtimberman/orgs","repos_url":"https://api.github.com/users/jtimberman/repos","events_url":"https://api.github.com/users/jtimberman/events{/privacy}","received_events_url":"https://api.github.com/users/jtimberman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T20:15:34Z","updated_at":"2015-09-22T20:15:34Z","closed_at":null,"body":"The current implementation of policies is that `/etc/chef/client.rb` must be modified to use them. It would be nice, in the spirit of the `-r` and `-o`, to have `--policy-name` and `--policy-group` options that allow setting `node.policy_name` and `node.policy_group` (as implemented in 01be9b1e91e515eb76de43a1e448e5476bd56574).\r\n\r\nUse of these options would need to work alongside `-n` (named run list)."}}