{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/1","labels_url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/1/comments","events_url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/1/events","html_url":"https://github.com/puppetlabs/prosvcs-node_manager/issues/1","id":60025797,"number":1,"title":"agent-specified environment name validation","user":{"login":"awaxa","id":979580,"avatar_url":"https://avatars.githubusercontent.com/u/979580?v=3","gravatar_id":"","url":"https://api.github.com/users/awaxa","html_url":"https://github.com/awaxa","followers_url":"https://api.github.com/users/awaxa/followers","following_url":"https://api.github.com/users/awaxa/following{/other_user}","gists_url":"https://api.github.com/users/awaxa/gists{/gist_id}","starred_url":"https://api.github.com/users/awaxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awaxa/subscriptions","organizations_url":"https://api.github.com/users/awaxa/orgs","repos_url":"https://api.github.com/users/awaxa/repos","events_url":"https://api.github.com/users/awaxa/events{/privacy}","received_events_url":"https://api.github.com/users/awaxa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-05T22:20:09Z","updated_at":"2015-10-16T21:13:36Z","closed_at":"2015-10-16T21:13:36Z","body":"```shell\r\n[root@master ~]# puppet resource node_group 'agent specified environment'\r\nnode_group { 'agent specified environment':\r\n  ensure               => 'present',\r\n  environment          => 'agent-specified',\r\n  id                   => 'b3749a1a-8d3e-4dc1-897d-ea9324970016',\r\n  override_environment => 'true',\r\n  parent               => 'default',\r\n  rule                 => ['and', ['not', ['=', ['fact', 'clientcert'], '']]],\r\n}\r\n[root@master ~]# puppet resource node_group 'agent specified environment' | grep -v id\\ | puppet apply\r\nNotice: Compiled catalog for master in environment production in 0.23 seconds\r\nError: Parameter environment failed on Node_group[agent specified environment]: Invalid environment name at line 7\r\nWrapped exception:\r\nInvalid environment name\r\n```"},"comment":{"url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/comments/148838246","html_url":"https://github.com/puppetlabs/prosvcs-node_manager/issues/1#issuecomment-148838246","issue_url":"https://api.github.com/repos/puppetlabs/prosvcs-node_manager/issues/1","id":148838246,"user":{"login":"jolshevski","id":7576912,"avatar_url":"https://avatars.githubusercontent.com/u/7576912?v=3","gravatar_id":"","url":"https://api.github.com/users/jolshevski","html_url":"https://github.com/jolshevski","followers_url":"https://api.github.com/users/jolshevski/followers","following_url":"https://api.github.com/users/jolshevski/following{/other_user}","gists_url":"https://api.github.com/users/jolshevski/gists{/gist_id}","starred_url":"https://api.github.com/users/jolshevski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolshevski/subscriptions","organizations_url":"https://api.github.com/users/jolshevski/orgs","repos_url":"https://api.github.com/users/jolshevski/repos","events_url":"https://api.github.com/users/jolshevski/events{/privacy}","received_events_url":"https://api.github.com/users/jolshevski/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T21:13:36Z","updated_at":"2015-10-16T21:13:36Z","body":"Addressed in PR #12"}}