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