Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Not Ensure the ~/.ssh Exists #1

Open
mankyd opened this issue Oct 25, 2012 · 0 comments
Open

Does Not Ensure the ~/.ssh Exists #1

mankyd opened this issue Oct 25, 2012 · 0 comments

Comments

@mankyd
Copy link

mankyd commented Oct 25, 2012

I tried using this after pulling it off of Puppet Forge. I tried installing my public key on a new virtual machine and received an error to this effect:

err: /Stage[main]//Node[test.localdomain]/Ssh::Authorized_keys[dave]/File[/home/dave/.ssh/authorized_keys]/ensure: change from absent to present failed: Could not set 'present on ensure: No such file or directory - /home/dave/.ssh/authorized_keys.puppettmp_558 at /etc/puppetlabs/puppet/modules/ssh/manifests/init.pp:141

It looks like there is no .ssh folder on my remote machine maybe? The actual configuration I am using is:

node 'test.localdomain' {
  ssh::authorized_keys { 'dave':
    users => ['dave']
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant