{"action":"created","issue":{"url":"https://api.github.com/repos/chef/cheffish/issues/90","labels_url":"https://api.github.com/repos/chef/cheffish/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/chef/cheffish/issues/90/comments","events_url":"https://api.github.com/repos/chef/cheffish/issues/90/events","html_url":"https://github.com/chef/cheffish/issues/90","id":113487867,"number":90,"title":"Users are not added to new group until 2nd convergence of recipe","user":{"login":"poliva83","id":3772510,"avatar_url":"https://avatars.githubusercontent.com/u/3772510?v=3","gravatar_id":"","url":"https://api.github.com/users/poliva83","html_url":"https://github.com/poliva83","followers_url":"https://api.github.com/users/poliva83/followers","following_url":"https://api.github.com/users/poliva83/following{/other_user}","gists_url":"https://api.github.com/users/poliva83/gists{/gist_id}","starred_url":"https://api.github.com/users/poliva83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poliva83/subscriptions","organizations_url":"https://api.github.com/users/poliva83/orgs","repos_url":"https://api.github.com/users/poliva83/repos","events_url":"https://api.github.com/users/poliva83/events{/privacy}","received_events_url":"https://api.github.com/users/poliva83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-27T01:46:31Z","updated_at":"2015-11-04T15:54:25Z","closed_at":null,"body":"chef_group will create new group in your organization but the users do not appear to be added to group until 2nd chef-client run.\r\n\r\n*recipe snippet*\r\n```\r\nurl_with_org = {\r\n    :chef_server_url => URI.join(chef_server_url, \"/organizations/blackberry\").to_s,\r\n    :options => {\r\n      :client_name => \"pivotal\",\r\n      :signing_key_filename => \"/etc/opscode/pivotal.pem\" } }\r\n\r\nchef_group 'ops' do\r\n      users  [\"ops-blackberry\", \"anbrown\"]\r\n      complete true\r\n      chef_server url_with_org\r\n      action :create\r\nend\r\n```\r\n*1st chef-client run*\r\n```\r\n* chef_group[ops] action create\r\n - create group ops at https://127.0.0.1/organizations/blackberry\r\n -   update users from [] to [\"ops-blackberry\", \"anbrown\"]\r\n\r\nknife group show ops -c ~/.chef/knife-chef12.rb  (via knife-acl)\r\n\r\nactors:\r\nannotated_groups:\r\nclients:\r\ngroupname:        ops\r\ngroups:\r\nname:             ops\r\norgname:          blackberry\r\nusers:\r\n```\r\n*2nd chef-client run*\r\n```\r\n* chef_group[ops] action create\r\n - update group ops at https://127.0.0.1/organizations/blackberry\r\n -   update users from [] to [\"ops-blackberry\", \"anbrown\"]\r\n -   remove orgname\r\n\r\nknife group show ops -c ~/.chef/knife-chef12.rb (via knife-acl)\r\n\r\nactors:\r\n  anbrown\r\n  ops-blackberry\r\nannotated_groups:\r\nclients:\r\ngroupname:        ops\r\ngroups:\r\nname:             ops\r\norgname:          blackberry\r\nusers:\r\n  anbrown\r\n  ops-blackberry\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/cheffish/issues/comments/153771883","html_url":"https://github.com/chef/cheffish/issues/90#issuecomment-153771883","issue_url":"https://api.github.com/repos/chef/cheffish/issues/90","id":153771883,"user":{"login":"poliva83","id":3772510,"avatar_url":"https://avatars.githubusercontent.com/u/3772510?v=3","gravatar_id":"","url":"https://api.github.com/users/poliva83","html_url":"https://github.com/poliva83","followers_url":"https://api.github.com/users/poliva83/followers","following_url":"https://api.github.com/users/poliva83/following{/other_user}","gists_url":"https://api.github.com/users/poliva83/gists{/gist_id}","starred_url":"https://api.github.com/users/poliva83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poliva83/subscriptions","organizations_url":"https://api.github.com/users/poliva83/orgs","repos_url":"https://api.github.com/users/poliva83/repos","events_url":"https://api.github.com/users/poliva83/events{/privacy}","received_events_url":"https://api.github.com/users/poliva83/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T15:54:25Z","updated_at":"2015-11-04T15:54:25Z","body":"@jkeiser Not sure this matters but worth mentioning its using a HA topology setup (BYOHA model)."}}