Re: [Puppet Users] alternate hostnames, keys, and certs

2010-10-16 Thread Patrick
On Oct 16, 2010, at 9:00 AM, Don Jackson wrote: > > A bit of followup here: > > I changed my approach to build a more acceptable certname that would be > acceptable as a hostname, using code like this: > > MACADDR=`facter macaddress_en0 | tr "[:upper:]" "[:lower:]" | sed 's/://g' ` > MACADDRH

Re: [Puppet Users] alternate hostnames, keys, and certs

2010-10-16 Thread Don Jackson
A bit of followup here: I changed my approach to build a more acceptable certname that would be acceptable as a hostname, using code like this: MACADDR=`facter macaddress_en0 | tr "[:upper:]" "[:lower:]" | sed 's/://g' ` MACADDRHOSTNAME="macaddr-${MACADDR}" This results in something like this:

Re: [Puppet Users] alternate hostnames, keys, and certs

2010-10-15 Thread Nigel Kersten
On Fri, Oct 15, 2010 at 11:57 AM, Nigel Kersten wrote: > On Thu, Oct 14, 2010 at 10:23 PM, Don Jackson > wrote: >> >> I'd like to extend my use of puppet to manage my desktop/notebook macs. >> >> As others have noted, the hostname of the mobile machines tends to change >> frequently, so basing t

Re: [Puppet Users] alternate hostnames, keys, and certs

2010-10-15 Thread Nigel Kersten
On Thu, Oct 14, 2010 at 10:23 PM, Don Jackson wrote: > > I'd like to extend my use of puppet to manage my desktop/notebook macs. > > As others have noted, the hostname of the mobile machines tends to change > frequently, so basing the node name (in my site.pp) and the corresponding > cert and pr

Re: [Puppet Users] alternate hostnames, keys, and certs

2010-10-14 Thread Patrick
On Oct 14, 2010, at 10:23 PM, Don Jackson wrote: > > I'd like to extend my use of puppet to manage my desktop/notebook macs. > > As others have noted, the hostname of the mobile machines tends to change > frequently, so basing the node name (in my site.pp) and the corresponding > cert and pri

[Puppet Users] alternate hostnames, keys, and certs

2010-10-14 Thread Don Jackson
I'd like to extend my use of puppet to manage my desktop/notebook macs. As others have noted, the hostname of the mobile machines tends to change frequently, so basing the node name (in my site.pp) and the corresponding cert and private key names seems to be an issue. I seem to recall somewhat