{"action":"created","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/615","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/615/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/615/events","html_url":"https://github.com/chef/inspec/issues/615","id":146002333,"number":615,"title":"Ensure that the package resource operates with the expected names","user":{"login":"aaronlippold","id":1486440,"avatar_url":"https://avatars.githubusercontent.com/u/1486440?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlippold","html_url":"https://github.com/aaronlippold","followers_url":"https://api.github.com/users/aaronlippold/followers","following_url":"https://api.github.com/users/aaronlippold/following{/other_user}","gists_url":"https://api.github.com/users/aaronlippold/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlippold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlippold/subscriptions","organizations_url":"https://api.github.com/users/aaronlippold/orgs","repos_url":"https://api.github.com/users/aaronlippold/repos","events_url":"https://api.github.com/users/aaronlippold/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlippold/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-05T14:11:58Z","updated_at":"2016-04-07T16:21:24Z","closed_at":null,"body":"I have noticed that with the package resource we are actually using the service name rather than the formal package name - at least with RHEL - which makes things a bit inconsistent. I think this would also help us better manage how we use the Service resource as well considering the complexity of supporting different init systems.\r\n\r\nIMHO:\r\n\r\ndescribe package('dhcpd') do\r\n   it { should_not be_installed }\r\nend\r\n\r\nThere is no package named dhcpd .... \r\n\r\n==>\r\n\r\ndescribe package('dhcp.x86_64') do\r\n  it { should be_installed }\r\nend \r\n\r\ndescribe package('openssh-server') do\r\n  it { should be_installed }\r\n  it { should have_arch 'x86_64' }\r\nend"},"comment":{"url":"https://api.github.com/repos/chef/inspec/issues/comments/206978586","html_url":"https://github.com/chef/inspec/issues/615#issuecomment-206978586","issue_url":"https://api.github.com/repos/chef/inspec/issues/615","id":206978586,"user":{"login":"aaronlippold","id":1486440,"avatar_url":"https://avatars.githubusercontent.com/u/1486440?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlippold","html_url":"https://github.com/aaronlippold","followers_url":"https://api.github.com/users/aaronlippold/followers","following_url":"https://api.github.com/users/aaronlippold/following{/other_user}","gists_url":"https://api.github.com/users/aaronlippold/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlippold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlippold/subscriptions","organizations_url":"https://api.github.com/users/aaronlippold/orgs","repos_url":"https://api.github.com/users/aaronlippold/repos","events_url":"https://api.github.com/users/aaronlippold/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlippold/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T16:21:24Z","updated_at":"2016-04-07T16:21:24Z","body":"Ok. Will do. Let me see if I can find it."}}