{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/97","repository_url":"https://api.github.com/repos/chef-cookbooks/push-jobs","labels_url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/97/comments","events_url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/97/events","html_url":"https://github.com/chef-cookbooks/push-jobs/issues/97","id":173695017,"number":97,"title":"/sbin/sv not installed. Runit package missing as dependency ?","user":{"login":"thechile","id":3511504,"avatar_url":"https://avatars.githubusercontent.com/u/3511504?v=3","gravatar_id":"","url":"https://api.github.com/users/thechile","html_url":"https://github.com/thechile","followers_url":"https://api.github.com/users/thechile/followers","following_url":"https://api.github.com/users/thechile/following{/other_user}","gists_url":"https://api.github.com/users/thechile/gists{/gist_id}","starred_url":"https://api.github.com/users/thechile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thechile/subscriptions","organizations_url":"https://api.github.com/users/thechile/orgs","repos_url":"https://api.github.com/users/thechile/repos","events_url":"https://api.github.com/users/thechile/events{/privacy}","received_events_url":"https://api.github.com/users/thechile/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T04:40:03Z","updated_at":"2016-12-26T21:35:25Z","closed_at":"2016-12-26T21:35:25Z","body":"I setup push-jobs per the instructions but after changing the node runlist to include `push-jobs` it fails with below error. Seems that the runit package isn't installed as a dependency ? \n\nI can't see this mentioned in the documentation ? Is there some steps i missed to use the push-job client on Centos servers ?\n\nInfo\n\n```\nrpm -qa |grep chef\nchef-12.13.37-1.el6.x86_64\n\ncat /etc/redhat-release\nCentOS release 6.7 (Final)\n```\n\nError\n\n```\nrestart_command \"/sbin/sv restart /etc/service/chef-push-jobs-client\"\n  Platform:\n  ---------\n  x86_64-linux\n\n\n    ================================================================================\n    Error executing action `restart` on resource 'push_jobs_service_runit[push-jobs]'\n    ================================================================================\n\n    RuntimeError\n    ------------\n    runit_service[chef-push-jobs-client] (/var/cache/chef/cookbooks/push-jobs/resources/service_runit.rb line 43) had an error: RuntimeError: Could not locate main runit sv_bin at \"/sbin/sv\". Did you remember to install runit before declaring a \"runit_service\" resource?\n\n    Try adding the following to the top of your recipe:\n\n    include_recipe \"runit\"\n\n    Cookbook Trace:\n    ---------------\n    /var/cache/chef/cookbooks/runit/libraries/provider_runit_service.rb:69:in `load_current_resource'\n    /var/cache/chef/cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb:133:in `compile_and_converge_action'\n\n    Resource Declaration:\n    ---------------------\n    # In /var/cache/chef/cookbooks/push-jobs/recipes/service.rb\n\n     29:   push_jobs_service 'push-jobs' do\n     30:     action [:start, :enable]\n     31:     subscribes :restart, \"template[#{PushJobsHelper.config_path}]\"\n     32:   end\n     33: end\n\n    Compiled Resource:\n    ------------------\n    # Declared in /var/cache/chef/cookbooks/push-jobs/recipes/service.rb:29:in `from_file'\n\n    push_jobs_service_runit(\"push-jobs\") do\n      action [:start, :enable]\n      retries 0\n      retry_delay 2\n      default_guard_interpreter :default\n      declared_type :push_jobs_service\n      cookbook_name \"push-jobs\"\n      recipe_name \"service\"\n    end\n\n    Platform:\n    ---------\n    x86_64-linux\n```\n"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/comments/269243257","html_url":"https://github.com/chef-cookbooks/push-jobs/issues/97#issuecomment-269243257","issue_url":"https://api.github.com/repos/chef-cookbooks/push-jobs/issues/97","id":269243257,"user":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T21:35:25Z","updated_at":"2016-12-26T21:35:25Z","body":"Closing this out since we haven't heard back from the user. Make sure that runit is being installed on the node as that seems like the root cause."}}
{"actor":{"display_login":"tas50"}}