{"action":"opened","issue":{"url":"https://api.github.com/repos/Sharpie/puppet-deploy_keys/issues/2","labels_url":"https://api.github.com/repos/Sharpie/puppet-deploy_keys/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Sharpie/puppet-deploy_keys/issues/2/comments","events_url":"https://api.github.com/repos/Sharpie/puppet-deploy_keys/issues/2/events","html_url":"https://github.com/Sharpie/puppet-deploy_keys/issues/2","id":123556480,"number":2,"title":"The deploy_keys::deploy_key example from the README.md will fail with 'Could not find dependency'","user":{"login":"walls00000","id":10239200,"avatar_url":"https://avatars.githubusercontent.com/u/10239200?v=3","gravatar_id":"","url":"https://api.github.com/users/walls00000","html_url":"https://github.com/walls00000","followers_url":"https://api.github.com/users/walls00000/followers","following_url":"https://api.github.com/users/walls00000/following{/other_user}","gists_url":"https://api.github.com/users/walls00000/gists{/gist_id}","starred_url":"https://api.github.com/users/walls00000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walls00000/subscriptions","organizations_url":"https://api.github.com/users/walls00000/orgs","repos_url":"https://api.github.com/users/walls00000/repos","events_url":"https://api.github.com/users/walls00000/events{/privacy}","received_events_url":"https://api.github.com/users/walls00000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T21:09:48Z","updated_at":"2015-12-22T21:09:48Z","closed_at":null,"body":"The deploy_keys::deploy_key example from the README.md will fail with the following error even when the file exists:\r\n```\r\nError: Could not find dependency File[/root/.ssh]  for Sshkey[r10k-control-repo-host_key] at .../deploy_keys/manifests/deploy_key.pp:75\r\n```\r\n\r\nTo solve this issue, I added the following.  It would be nice to make a mention of this in your example.\r\n```\r\nfile { '/root/.ssh':\r\n    ensure => directory\r\n  }\r\n```"}}