Isn't .ssh created after the first time a user attempts an SSH outbound connection, not at initial creation of homedirs?
-------------------------- Warron French On Thu, Mar 31, 2016 at 4:56 AM, Patrick G. <[email protected]> wrote: > Nope … > With new users this should create the directory. > > The debug log shows: > > Debug: Creating /home/admin/.ssh > > > But it doesn’t create it. > > Gr. Patrick. > > On 29 mrt. 2016, at 17:09, Lowe Schmidt <[email protected]> wrote: > > > Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created > > Debug: Creating /home/admin/.ssh > > Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: > No such file > or directory - /home/admin/.ssh > > Well, does the directory /home/admin/.ssh exist? > > -- > Lowe Schmidt | +46 723 867 157 > > On 29 March 2016 at 16:44, Patrick G. <[email protected]> wrote: > >> Hi, >> >> I am using # puppet-module-ssh >> >> In the yaml file I have: >> >> ssh::keys: >> admin: >> ensure: present >> user: admin >> type: dsa >> key: AAAA...== >> >> But when running puppet agent I get: >> >> Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created >> Debug: Creating /home/admin/.ssh >> Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No >> such file or directory - /home/admin/.ssh >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/892b9b3a-30b3-47e5-8c0f-1e52a2309179%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/892b9b3a-30b3-47e5-8c0f-1e52a2309179%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAC-wWcRByycxjrkvWMWrOhX7EiVGLxrsQ7z2zx8m8%3DBt7Wc6Mg%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAC-wWcRByycxjrkvWMWrOhX7EiVGLxrsQ7z2zx8m8%3DBt7Wc6Mg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/3BE51F3A-023A-46F8-AF09-881F68CA5E92%40gmail.com > <https://groups.google.com/d/msgid/puppet-users/3BE51F3A-023A-46F8-AF09-881F68CA5E92%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQmskCXwetBENJUg5TBEUh0%2Buwkivz9ODNhxRS-ZbYMDyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
