{"action":"created","issue":{"url":"https://api.github.com/repos/acidprime/r10k/issues/139","labels_url":"https://api.github.com/repos/acidprime/r10k/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/acidprime/r10k/issues/139/comments","events_url":"https://api.github.com/repos/acidprime/r10k/issues/139/events","html_url":"https://github.com/acidprime/r10k/issues/139","id":58842357,"number":139,"title":"web hook does not work for non-mco install","user":{"login":"logicminds","id":563900,"avatar_url":"https://avatars.githubusercontent.com/u/563900?v=3","gravatar_id":"","url":"https://api.github.com/users/logicminds","html_url":"https://github.com/logicminds","followers_url":"https://api.github.com/users/logicminds/followers","following_url":"https://api.github.com/users/logicminds/following{/other_user}","gists_url":"https://api.github.com/users/logicminds/gists{/gist_id}","starred_url":"https://api.github.com/users/logicminds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logicminds/subscriptions","organizations_url":"https://api.github.com/users/logicminds/orgs","repos_url":"https://api.github.com/users/logicminds/repos","events_url":"https://api.github.com/users/logicminds/events{/privacy}","received_events_url":"https://api.github.com/users/logicminds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-25T02:50:00Z","updated_at":"2015-02-25T23:33:09Z","closed_at":null,"body":"I get the following errors when I apply this to my pe master system.\r\n\r\n\r\n```puppet\r\n# Instead of running via mco, run r10k directly\r\nclass {'r10k::webhook::config':\r\n  use_mcollective => false,\r\n}\r\n\r\n# The hook needs to run as root when not running using mcollective\r\n# It will issue r10k deploy environment <branch_from_gitlab_payload> -p\r\n# When git pushes happen.\r\nclass {'r10k::webhook':\r\n  user    => 'root',\r\n  group   => '0',\r\n  require => Class['r10k::webhook::config'],\r\n}\r\n\r\n```\r\n\r\n\r\n```shell\r\nError: Could not start Service[webhook]: Execution of '/sbin/service webhook start' returned 1: Starting webhook: /usr/local/bin/webhook:50:in `initialize': No such file or directory - /var/lib/peadmin/.mcollective.d/peadmin-cert.pem (Errno::ENOENT)\r\n\tfrom /usr/local/bin/webhook:50:in `open'\r\n\tfrom /usr/local/bin/webhook:50:in `<main>'\r\n[FAILED]\r\nWrapped exception:\r\n\r\n\r\n\r\nExecution of '/sbin/service webhook start' returned 1: Starting webhook: /usr/local/bin/webhook:50:in `initialize': No such file or directory - /var/lib/peadmin/.mcollective.d/peadmin-cert.pem (Errno::ENOENT)\r\n\tfrom /usr/local/bin/webhook:50:in `open'\r\n\tfrom /usr/local/bin/webhook:50:in `<main>'\r\n[FAILED]\r\nError: /Stage[main]/R10k::Webhook/Service[webhook]/ensure: change from stopped to running failed: Could not start Service[webhook]: Execution of '/sbin/service webhook start' returned 1: Starting webhook: /usr/local/bin/webhook:50:in `initialize': No such file or directory - /var/lib/peadmin/.mcollective.d/peadmin-cert.pem (Errno::ENOENT)\r\n\tfrom /usr/local/bin/webhook:50:in `open'\r\n\tfrom /usr/local/bin/webhook:50:in `<main>'\r\n[FAILED]\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/acidprime/r10k/issues/comments/76085187","html_url":"https://github.com/acidprime/r10k/issues/139#issuecomment-76085187","issue_url":"https://api.github.com/repos/acidprime/r10k/issues/139","id":76085187,"user":{"login":"acidprime","id":1173142,"avatar_url":"https://avatars.githubusercontent.com/u/1173142?v=3","gravatar_id":"","url":"https://api.github.com/users/acidprime","html_url":"https://github.com/acidprime","followers_url":"https://api.github.com/users/acidprime/followers","following_url":"https://api.github.com/users/acidprime/following{/other_user}","gists_url":"https://api.github.com/users/acidprime/gists{/gist_id}","starred_url":"https://api.github.com/users/acidprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidprime/subscriptions","organizations_url":"https://api.github.com/users/acidprime/orgs","repos_url":"https://api.github.com/users/acidprime/repos","events_url":"https://api.github.com/users/acidprime/events{/privacy}","received_events_url":"https://api.github.com/users/acidprime/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T23:33:09Z","updated_at":"2015-02-25T23:33:09Z","body":"@logicminds is this a compile master or the CA?"}}