Hi all,
I've been trying to change over to using environments now that I have
upgraded to 0.24.6. I have a puppet.conf file that looks like this:
-------
[main]
environment = production
listen = true
runinterval = 1800
server = puppet.cqu.edu.au
report = true
factsync = true
[puppetd]
environments = production, development
[production]
server = puppet.cqu.edu.au
masterport = 8140
[development]
server = jester.cqu.edu.au
masterport = 18140
------
This is what I get when I try to run it:
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=production --configprint environment
production
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=production --configprint server
puppet.cqu.edu.au
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=production --configprint masterport
8140
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=development --configprint environment
development
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=development --configprint server
jester.cqu.edu.au
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test
--environment=development --configprint masterport
18140
[EMAIL PROTECTED]:~# /usr/local/bin/puppetd --test --environment=development
info: Loading fact serialnumber
info: Loading fact zones
info: Loading fact hardware_platform
info: Loading fact sshkeys
info: Loading fact sun_webserver
notice: Ignoring --listen on onetime run
info: Retrieving facts
err: /File[/var/puppet/facts]: Failed to generate additional resources
during transaction: Could not connect to puppet.cqu.edu.au on port
8140
err: /File[/var/puppet/facts]: Failed to retrieve current state of
resource: Could not connect to puppet.cqu.edu.au on port 8140 Could
not describe /facts: Could not connect to puppet.cqu.edu.au on port
8140
info: Loading fact serialnumber
info: Loading fact zones
info: Loading fact hardware_platform
info: Loading fact sshkeys
info: Loading fact sun_webserver
err: Could not retrieve catalog: Could not connect to
puppet.cqu.edu.au on port 8140
warning: Not using cache on failed catalog
Any ideas? From what I can gather this should work. I can't see anyone
else that says it isn't working and I've found as many examples via
google as I can and they all have pretty much the same setup I do in
my puppet.conf file. The closest thing I came to was
http://reductivelabs.com/trac/puppet/ticket/1183 which seems to be the
opposite of my problem, configprint works, but running it normally
doesn't.
Regards
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---