Puppet

VM master:

installation de puppet master:

aptitude install puppetmaster
service puppetmaster start

installation de modules:

puppet module install jfryman-nginx

VM client:

yum install puppet
service puppet start

connection sécurisée entre le serveur et le client:

client:

puppetd -t -v- w 60

server:

puppet ca list
 
	  puppetclient  (SHA256) 1C:59:05:FC:E8:0F:1A:0B:F8:5B:F9:3C:61:B0:0A:CB:22:BA:78:7C:88:6E:D6:5E:79:76:8C:1F:95:49:9F:A8
puppet ca sign puppetclient

Configuration:

serveur:

/etc/puppet/manifests

site.pp:

	filebucket {'main': server => 'puppetmaster' }
	File { backup => 'main'}
 
	import "node"

node.pp:

	node 'puppetclient' {
 
	include python
	include apt
	include ntp
	}

client:

puppet agent --test
 
	Info: Retrieving pluginfacts
	Info: Retrieving plugin
	Info: Loading facts
	Info: Caching catalog for puppetclient
	Info: Applying configuration version '1470313134'
	Notice: Finished catalog run in 0.23 seconds
wiki/puppet.txt · Dernière modification: 2018/04/25 13:15 par root
CC0 1.0 Universal
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5