I'm not quite sure, but my experience is that as soon as you remove the 
@@-resources from your node configuration, they will also be dropped from the 
database by the Puppet master. You may want to check with some 
select-statements if this is really true.

I once deleted some resources manually from the database since I was not sure 
if it's done automatically - worked well, too. But, as mentioned, I think the 
master is doing this for you.

Bernd

> -----Ursprüngliche Nachricht-----
> Von: puppet-users@googlegroups.com [mailto:puppet-
> us...@googlegroups.com] Im Auftrag von Matthew Nicholson
> Gesendet: Donnerstag, 15. Dezember 2011 20:30
> An: puppet-users@googlegroups.com
> Betreff: [Puppet Users] filtering exported resources...
> 
> I'm currently searching around/reading up on exported resources, but
> figured I'd ping the list to see if someone had a quick answer.
> 
> I'm collecting and exporting ssh keys, basically like the example in
> ProPuppet and in the wiki etc. I was collecting both rsa and dsa keys,
> and exporting all keys.
> 
> I've stopped collecting dsa keys, we don't care about those, and are
> looking to cut our run times down (about 1750 hosts). However, I'm
> assuming that a new node brought online will still get all the dsa keys
> since they have already been collected, right?
> 
> Can I do something like:
> 
> class ssh::knownhosts {
>                 Sshkey <<| type= 'rsa' |>> {ensure => present}
>         }
> 
> to only hand out the rsa ssh keys?
> 
> 
> --
> Matthew Nicholson
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to puppet-
> users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to