Open main menu

CDOT Wiki β

Changes

User:Prathapan

5 bytes added, 10:03, 15 March 2011
no edit summary
To manually sign the certificate
#'''#puppetca –sign <certificate CN>'''
note: it is done in puppet master. To list the requsete certificate, issu the commad
#'''#puppetca –list'''
5)Puppet receives the signed certificate. Once the puppet receives the certificate, it will start configuration run immediately.
On server, In this case it will be Hongkong.proximity.on.ca
# '''#yum install puppet-server'''
it will install puppetmaster and puppet on the server which is to be as puppetmaster.
# '''#yum install mysql-server ruby-mysql'''
# '''#yum install ruby-RRDtool'''
it will install ruby library.
On client, in this case it will be Ireland.proximity.on.ca
# '''#yum install puppet'''
it will install puppet client on the client system.
c) start the puppet master.
#'''#puppetmasterd –mkusers'''
this option will create the puppet user that is needed.
Once the puppetmaster daemon is stated, it will create the necessary files and folders under /var/lib/puppet.
#'''#ls /var/lib/puppet'''
should have bucket, clientsbucket, facts, reports, ssl, yaml, class.txt, client_yaml, l ib, rrd, state
all the details information about these files and folder will be included in the next blog.
'''# '''service puppetmaster start'''
'''
d) start the puppet client.
On the client, Ireland
#'''#puppetd –verbose'''
when the puppet client daemon starts, it creates the necessary certificate and waits for the certificate to be signed by the puppetmaster.
On the server
#'''#puppetca –list'''
this will list the all the requested certificate that are to be signed by puppetmaster.
#'''#puppetca –-sign ireland.proximity.on.ca'''
1
edit