GCube Puppet integration

From D4Science Wiki
Jump to: navigation, search

Puppet nodes for testing


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)

. Open the file /etc/puppet/puppet.conf and enter

# vim /etc/puppet/puppet.conf
[main]
...
   pluginsync = true
...
[agent]
...
   server=node12.d.d4science.research-infrastructures.eu

Puppet client test

  • puppet agent --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'