Difference between revisions of "GCube Puppet integration"
From D4Science Wiki
Andrea.manzi (Talk | contribs) (→Puppet client installation) |
Andrea.manzi (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Puppet nodes for testing | ||
+ | |||
+ | * puppet master : node12.d.d4science.research-infrastructures.eu | ||
+ | * puppet agent : gcube-puppet-test.cern.ch | ||
+ | * code : https://github.com/andrea-manzi/gcube-puppet | ||
+ | |||
+ | |||
== Puppet client installation == | == Puppet client installation == | ||
Line 23: | Line 30: | ||
== Puppet client test == | == Puppet client test == | ||
− | * puppet agent | + | * puppet agent --test |
the server should authenticate the client request, on Puppet master: | the server should authenticate the client request, on Puppet master: |
Latest revision as of 15:24, 18 January 2014
Puppet nodes for testing
- puppet master : node12.d.d4science.research-infrastructures.eu
- puppet agent : gcube-puppet-test.cern.ch
- code : https://github.com/andrea-manzi/gcube-puppet
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 and the puppet master server address is configured
. 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'