Help needed in configuring puppet.
I m running puppet latest version. 2.7.1
but there is no such file as /etc/puppet/puppet.conf How would i define different manifest files for different environment. i had manually created puppet.conf file and added following content into it. Code:
# cat /etc/puppet/puppet.conf Code:
# puppet agent --server --environment dev PuppetMaster.domain.com --waitforcert 60 --test when i run it without specifying environment then it works fine. Code:
# puppet agent --server PuppetMaster.domain.com --waitforcert 60 --test How would i start it automatically after system reboot? Code:
puppet master --mkusers |
you've managed to stick the environment parameter inside the server parameter... kinda helps if they are in the right order.
you should really NOT be using --server though, puppet will look for puppet.domain.com automatically, so don't fight it and change the server to be reachable on that address (and have the cert for it to match). it's much simpler. |
Quote:
this is what i get if i dont specify server parameter Code:
# puppet agent --waitforcert 60 --test |
so set your DNS up properly.
|
Quote:
Since there is no puppetmaster service available in puppet 2.7.1 |
What do you mean "stop"? How did you start it. Note you should really use passenger and Apache not the dumb puppetmaster service.
Did you just install from source? That would explain the lack of service scripts etc. |
Quote:
Do i need to install it from rpm to get the services? How would it different if i install it using different method? |
All times are GMT -5. The time now is 10:56 AM. |