Difference between revisions of "Puppet"

From HoerupWiki
Jump to: navigation, search
(Puppet Master)
Line 15: Line 15:
  
 
= Puppet Master=
 
= Puppet Master=
* Deb9
+
 
 +
==Deb9==
 
* <code>apt install puppet-master</code>
 
* <code>apt install puppet-master</code>
 
* PuppetBoard:
 
* PuppetBoard:
Line 24: Line 25:
 
** https://github.com/voxpupuli/puppetboard/blob/master/docs/Debian-Jessie.md
 
** https://github.com/voxpupuli/puppetboard/blob/master/docs/Debian-Jessie.md
 
** <code>puppet module install puppet-puppetboard</code>
 
** <code>puppet module install puppet-puppetboard</code>
 +
 +
==Using puppet packages==
 +
https://puppet.com/docs/puppet/5.3/puppet_platform.html#apt-based-systems
 +
* wget https://apt.puppetlabs.com/puppet5-release-stretch.deb
 +
* sudo dpkg -i puppet5-release-stretch.deb
 +
* sudo apt-get update

Revision as of 21:08, 24 January 2018

Puppet bootstap

  • Installer puppet (apt-get install puppet)
  • På nogle OS'er skal puppet klient enables i /etc/default/
  • Puppet <= 2.7 skal have Pluginsync enabled i /etc/puppet/puppet.conf
[main]
pluginsync = true
  • Testkør puppet
    • puppet agent -t (klienten genererer cert og prøver at kontakte server
    • log på puppet master
      • vis cert requests med: puppet cert list
      • godkend cert med: puppet cert sign <hostname>
    • kør puppet agent -t igen -for at teste cert
    • på nyere puppets skal man slå agenten til med: puppet agent --enable

Puppet Master

Deb9

Using puppet packages

https://puppet.com/docs/puppet/5.3/puppet_platform.html#apt-based-systems