Matthew Nicholson
unread,May 6, 2012, 1:25:12 PM5/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
So, I have 2 storedconfig questions:
1: Are "complex" searches just not supported? I want to simply do:
Sshkey <<| tag == "some_tag" and type == "rsa" |>> (the type is
mandatory, but this won't let me do complex searches, so i'm stuck
only collecting the ones I want for this, where as i'd rather collect
them all and export them as needed....)
2: So, I'm obviously collecting ssh keys and exporting them. I was
collecting with the host alias ["$hostname","$fqdn","$ipaddress"],
however, i found on most of our systems, it seemed like this array
would get written into the known_hosts file in one order, then on the
next run, another order. Thus, thing seemingly kept changing when it
was realy just the aliases bouncing around. Any explanation/help on
this? I've gone to just ["$hostname","$fqdn"], and most likly can
really get away with just $hostname, but I'd like all 3 aliases, but
I'd rather have it be written once and not over and over.
Thanks!
--
Matthew Nicholson