user purge_ssh_keys

59 views
Skip to first unread message

Doug Byrne

unread,
May 22, 2014, 10:29:13 AM5/22/14
to puppet...@googlegroups.com
Hi,

I'm using Puppet 3.6.0 on Ubuntu 12.04 and I'm trying to purge unmanaged ssh authorized keys.

I've added this code to my manifest:

user { 'ubuntu':
  purge_ssh_keys => true,
  home => '/home/ubuntu',
}


However, no keys are purged. I do see the following lines in the agent debug output:

Debug: /Stage[main]/Role::Search/Ssh_authorized_key[key2purge1]: Nothing to manage: no ensure and the resource doesn't exist
Debug: /Stage[main]/Role::Search/Ssh_authorized_key[key2purge2]: Nothing to manage: no ensure and the resource doesn't exist


Those are the two keys that I expect would be purged. It appears that puppet has correctly identified the keys to purge, and created resources for them, but did not ensure => absent.

Is there something that I may have done wrong, or should I file a bug report?

-Doug

Felix Frank

unread,
May 22, 2014, 10:42:35 AM5/22/14
to puppet...@googlegroups.com
Hi,

interesting. That Should Have Worked(tm).

A ticket would be splendid, yes.

Thanks,
Felix

Doug Byrne

unread,
May 22, 2014, 11:02:38 AM5/22/14
to puppet...@googlegroups.com
Thanks, created as PUP-2635
Reply all
Reply to author
Forward
0 new messages