{"action":"created","issue":{"url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/175","labels_url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/175/comments","events_url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/175/events","html_url":"https://github.com/TomPoulton/hiera-eyaml/issues/175","id":109168889,"number":175,"title":"Doesn't decrypt when using service","user":{"login":"kyledecot","id":192464,"avatar_url":"https://avatars.githubusercontent.com/u/192464?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledecot","html_url":"https://github.com/kyledecot","followers_url":"https://api.github.com/users/kyledecot/followers","following_url":"https://api.github.com/users/kyledecot/following{/other_user}","gists_url":"https://api.github.com/users/kyledecot/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledecot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledecot/subscriptions","organizations_url":"https://api.github.com/users/kyledecot/orgs","repos_url":"https://api.github.com/users/kyledecot/repos","events_url":"https://api.github.com/users/kyledecot/events{/privacy}","received_events_url":"https://api.github.com/users/kyledecot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T20:06:49Z","updated_at":"2015-09-30T22:09:19Z","closed_at":"2015-09-30T20:58:49Z","body":"\r\n\r\nWhen running my puppetserver via `puppet master --no-daemonize` and fetching some keys I get the results that I would expect but when running via `service puppetserver start` and fetching a value with hiera my passwords are not being decrypted.\r\n\r\nWhat would cause this?\r\n\r\n\r\nMy `/etc/puppetlabs/code/hiera.yaml` file looks like:\r\n\r\n```---\r\n:backends:\r\n  - eyaml\r\n  - yaml\r\n:eyaml:\r\n  :extension: 'yaml'\r\n  :datadir:\r\n  :pkcs7_private_key: /etc/puppetlabs/secure/keys/private_key.pkcs7.pem\r\n  :pkcs7_public_key:  /etc/puppetlabs/secure/keys/public_key.pkcs7.pem\r\n:yaml:\r\n  :datadir:\r\n:hierarchy:\r\n  - \"%{::fqdn}\"\r\n  - ruby\r\n  - common\r\n:merge_behavior: deeper\r\n```"},"comment":{"url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/comments/144557954","html_url":"https://github.com/TomPoulton/hiera-eyaml/issues/175#issuecomment-144557954","issue_url":"https://api.github.com/repos/TomPoulton/hiera-eyaml/issues/175","id":144557954,"user":{"login":"elyscape","id":792695,"avatar_url":"https://avatars.githubusercontent.com/u/792695?v=3","gravatar_id":"","url":"https://api.github.com/users/elyscape","html_url":"https://github.com/elyscape","followers_url":"https://api.github.com/users/elyscape/followers","following_url":"https://api.github.com/users/elyscape/following{/other_user}","gists_url":"https://api.github.com/users/elyscape/gists{/gist_id}","starred_url":"https://api.github.com/users/elyscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyscape/subscriptions","organizations_url":"https://api.github.com/users/elyscape/orgs","repos_url":"https://api.github.com/users/elyscape/repos","events_url":"https://api.github.com/users/elyscape/events{/privacy}","received_events_url":"https://api.github.com/users/elyscape/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T22:09:19Z","updated_at":"2015-09-30T22:09:19Z","body":"Could you please comment on what your problem ended up being?"}}