Issue #16487 has been updated by Stefan Schulte.

Do you encounter duplicate entries in root2's keyfile? I'd then expect another 
error message like

<pre>
err: /Stage[main]/Users/Ssh_authorized_key[jthompson]: Could not evaluate:
  Puppet::Util::FileType::FileTypeFlat could not write 
/root/.ssh/authorized_keys:
  Permission denied - /root/.ssh/authorized_key
</pre>

If that is the case you are hitting #10850
----------------------------------------
Bug #16487: ssh_authorized_key always changes from root to user on every run
https://projects.puppetlabs.com/issues/16487#change-71489

Author: Nick Le Mouton
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I have this in my manifest:

    ssh_authorized_key {
    "test" :
    user                => "root2",
    ensure              => present,
    type                => "ssh-rsa",
    key         => "AAAA <snip> ==";
    }

Whenever I run puppet it shows these notices:

    notice: /Stage[main]/Ssh/Ssh_authorized_key[test]/user: user changed 'root' 
to 'root2'

Is there anyway to suppress this notice? It shouldn't really be firing on each 
run.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to