Difference between revisions of "GCube Puppet integration"
From D4Science Wiki
Andrea.manzi (Talk | contribs) (→Puppet client installation) |
Andrea.manzi (Talk | contribs) (→Puppet client test) |
||
Line 17: | Line 17: | ||
* puppet agent --server=node12.d.d4science.research-infrastructures.eu --test | * puppet agent --server=node12.d.d4science.research-infrastructures.eu --test | ||
+ | |||
+ | the server should authenticate the client request, on Puppet master: | ||
+ | |||
+ | * puppet cert list ( to see the list of pending authentication ) : | ||
+ | |||
+ | puppet cert list | ||
+ | "gcube-puppet-test.cern.ch" (6B:A5:93:66:4D:E5:3B:BC:EF:30:A5:00:91:3B:76:D4) | ||
+ | |||
+ | * puppet cert sign <agent1.localdomain> | ||
+ | |||
+ | puppet cert sign gcube-puppet-test.cern.ch | ||
+ | notice: Signed certificate request for gcube-puppet-test.cern.ch | ||
+ | notice: Removing file Puppet::SSL::CertificateRequest gcube-puppet-test.cern.ch at '/var/lib/puppet/ssl/ca/requests/gcube-puppet-test.cern.ch.pem' |
Revision as of 12:28, 18 January 2014
Puppet client installation
Architecture http://docs.puppetlabs.com/learning/agent_master_basic.html
The installation of the puppet client can be performed as follows: ( on RH systems)
- rpm -ivh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-7.noarch.rpm
- yum install puppet
- Make sure that pluginsync is enabled on your puppet client. Open the file /etc/puppet/puppet.conf and enter
# vim /etc/puppet/puppet.conf [main] ... pluginsync = true
Puppet client test
- puppet agent --server=node12.d.d4science.research-infrastructures.eu --test
the server should authenticate the client request, on Puppet master:
- puppet cert list ( to see the list of pending authentication ) :
puppet cert list "gcube-puppet-test.cern.ch" (6B:A5:93:66:4D:E5:3B:BC:EF:30:A5:00:91:3B:76:D4)
- puppet cert sign <agent1.localdomain>
puppet cert sign gcube-puppet-test.cern.ch notice: Signed certificate request for gcube-puppet-test.cern.ch notice: Removing file Puppet::SSL::CertificateRequest gcube-puppet-test.cern.ch at '/var/lib/puppet/ssl/ca/requests/gcube-puppet-test.cern.ch.pem'