Title: Message Title
Patrick Morton commented on an issue
Puppet / Bug PUP-1612
sshkey will create blank keys but is unable to remove any entries from the file thereafter
Given the following policy:
<pre>
sshkey { empty:
  ensure => present,
  type => ssh-rsa,
  key => $undefinedvalue,
}
sshkey { jrhett:
  ensure => present,
  type => ssh-rsa,
  key => 'blahlbahblahblahXblahXblahXX==',
}
</pre>

This creates the file as you would expect:
<pre>
$ cat /etc/ssh/ssh_known_hosts
# HEADER: This...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to