Difference between revisions of "Puppet"
Line 14: | Line 14: | ||
** på nyere puppets skal man slå agenten til med: puppet agent --enable | ** på nyere puppets skal man slå agenten til med: puppet agent --enable | ||
− | = Puppet Master | + | = Puppet Master= |
* Deb9 | * Deb9 | ||
* <code>apt install puppet-master</code> | * <code>apt install puppet-master</code> | ||
* PuppetBoard: | * PuppetBoard: | ||
+ | ** Setup https://docs.puppet.com/puppetdb/4.4/ | ||
** <code>apt-get install libapache2-mod-wsgi</code> | ** <code>apt-get install libapache2-mod-wsgi</code> | ||
** <code>a2enmod wsgi</code> | ** <code>a2enmod wsgi</code> |
Revision as of 11:50, 31 August 2017
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
apt install puppet-master
- PuppetBoard:
- Setup https://docs.puppet.com/puppetdb/4.4/
apt-get install libapache2-mod-wsgi
a2enmod wsgi
- https://github.com/voxpupuli/puppetboard
- https://github.com/voxpupuli/puppetboard/blob/master/docs/Debian-Jessie.md
puppet module install puppet-puppetboard