{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3315","labels_url":"https://api.github.com/repos/chef/chef/issues/3315/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3315/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3315/events","html_url":"https://github.com/chef/chef/pull/3315","id":72183260,"number":3315,"title":"Add Ohai::PS into minimal, Fixes #3304","user":{"login":"erichelgeson","id":271734,"avatar_url":"https://avatars.githubusercontent.com/u/271734?v=3","gravatar_id":"","url":"https://api.github.com/users/erichelgeson","html_url":"https://github.com/erichelgeson","followers_url":"https://api.github.com/users/erichelgeson/followers","following_url":"https://api.github.com/users/erichelgeson/following{/other_user}","gists_url":"https://api.github.com/users/erichelgeson/gists{/gist_id}","starred_url":"https://api.github.com/users/erichelgeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichelgeson/subscriptions","organizations_url":"https://api.github.com/users/erichelgeson/orgs","repos_url":"https://api.github.com/users/erichelgeson/repos","events_url":"https://api.github.com/users/erichelgeson/events{/privacy}","received_events_url":"https://api.github.com/users/erichelgeson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-30T14:41:06Z","updated_at":"2015-05-07T18:35:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/3315","html_url":"https://github.com/chef/chef/pull/3315","diff_url":"https://github.com/chef/chef/pull/3315.diff","patch_url":"https://github.com/chef/chef/pull/3315.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/99971455","html_url":"https://github.com/chef/chef/pull/3315#issuecomment-99971455","issue_url":"https://api.github.com/repos/chef/chef/issues/3315","id":99971455,"user":{"login":"erichelgeson","id":271734,"avatar_url":"https://avatars.githubusercontent.com/u/271734?v=3","gravatar_id":"","url":"https://api.github.com/users/erichelgeson","html_url":"https://github.com/erichelgeson","followers_url":"https://api.github.com/users/erichelgeson/followers","following_url":"https://api.github.com/users/erichelgeson/following{/other_user}","gists_url":"https://api.github.com/users/erichelgeson/gists{/gist_id}","starred_url":"https://api.github.com/users/erichelgeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichelgeson/subscriptions","organizations_url":"https://api.github.com/users/erichelgeson/orgs","repos_url":"https://api.github.com/users/erichelgeson/repos","events_url":"https://api.github.com/users/erichelgeson/events{/privacy}","received_events_url":"https://api.github.com/users/erichelgeson/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T18:35:40Z","updated_at":"2015-05-07T18:35:40Z","body":"Still have the issue when specifying them explicitly. \r\n```\r\nTypeError\r\n---------\r\nno implicit conversion from nil to integer\r\n\r\nResource Declaration:\r\n---------------------\r\n# In /tmp/vagrant-chef/45bf471f21f79174541f3de893ab55e4/cookbooks/myapp/recipes/default.rb\r\n\r\n 15: service \"myapp_httpd\" do\r\n 16:   provider Chef::Provider::Service::Simple\r\n 17:   restart_command \"#{node['myapp']['base']}/apps/httpd/bin/apachectl -k graceful\"\r\n 18:   start_command \"#{node['myapp']['base']}/apps/httpd/bin/apachectl -k start\"\r\n 19:   stop_command \"#{node['myapp']['base']}/apps/httpd/bin/apachectl -k stop\"\r\n 20:   supports restart: true, reload: false, status: false, start: true, stop: true\r\n 21:   action :nothing\r\n 22: end\r\n\r\nCompiled Resource:\r\n------------------\r\n# Declared in /tmp/vagrant-chef/45bf471f21f79174541f3de893ab55e4/cookbooks/myapp/recipes/default.rb:15:in `from_file'\r\n\r\nservice(\"myapp_httpd\") do\r\n  provider Chef::Provider::Service::Simple\r\n  action [:nothing]\r\n  supports {:restart=>true, :reload=>false, :status=>false, :start=>true, :stop=>true}\r\n  retries 0\r\n  retry_delay 2\r\n  default_guard_interpreter :default\r\n  service_name \"myapp_httpd\"\r\n  pattern \"myapp_httpd\"\r\n  start_command \"/data/apps/httpd/bin/apachectl -k start\"\r\n  stop_command \"/data/apps/httpd/bin/apachectl -k stop\"\r\n  restart_command \"/data/apps/httpd/bin/apachectl -k graceful\"\r\n  declared_type :service\r\n  cookbook_name :myapp\r\n  recipe_name \"default\"\r\nend\r\n```"}}