msacks
2011-Mar-03 00:43 UTC
[Puppet Users] Puppet without FQDN (could not retrieve fact fqdn)
Hello, I am testing Puppet and I would like to use it without having to add a DNS entry. Is there a way around this, or am I required to rely on DNS? More specifically, the reason I ask is I am getting the following error when trying to invoke puppet --mkusers: # puppet master --mkusers warning: Could not retrieve fact fqdn Could not parse for environment production: Could not find file /root/ master.pp Same goes for: #sudo -u puppet puppet master --mkusers warning: Could not retrieve fact fqdn Could not parse for environment production: Could not find file /root/ master.pp Thanks, msacks -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Richard Crowley
2011-Mar-03 00:54 UTC
Re: [Puppet Users] Puppet without FQDN (could not retrieve fact fqdn)
On Wednesday, March 2, 2011 at 4:43 PM, msacks wrote: Hello,> I am testing Puppet and I would like to use it without having to add a > DNS entry. Is there a way around this, or am I required to rely on > DNS?You can run Puppet like this: puppet master --certname=$(cat/etc/puppet/certname) puppet agent --certname=$(cat/etc/puppet/certname) to use the contents of an arbitrary file as the SSL certificate name instead of the fqdn fact. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Maybe Matching Threads
- warning: Could not retrieve fact fqdn
- "Could not find server puppet" - installation/configuration error
- How can I set certname in managed puppet.conf?
- Fake FQDN for puppetmaster (and ca) in faked environment?
- Security considerations for basing decisions on facts