DeskTux

Linux on Desktops

User Tools

Site Tools


apps:puppet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apps:puppet [2024-05-20 10:13] – [What next?] Wokeness jensapps:puppet [2024-05-20 10:15] (current) – [Connecting] Syntax jens
Line 56: Line 56:
 Of course, before testing your code, you should first run it through ''puppet parser validate'' and ''puppet-lint''. However, this is not a Puppet code manual, you should check their [[https://puppet.com/docs|excellent documentation]] for that. Of course, before testing your code, you should first run it through ''puppet parser validate'' and ''puppet-lint''. However, this is not a Puppet code manual, you should check their [[https://puppet.com/docs|excellent documentation]] for that.
  
-===== Connecting Clients =====+===== Clients ===== 
 +==== Connecting ====
 Of course, your Puppet server will be useless if it only manages itself. To connect clients to your Puppet server, make sure it is reachable on port 8140/TCP (both IPv4 and IPv6 work). Of course, your Puppet server will be useless if it only manages itself. To connect clients to your Puppet server, make sure it is reachable on port 8140/TCP (both IPv4 and IPv6 work).
  
Line 72: Line 73:
 </code> </code>
  
-To accept that certificate just run ''puppetserver ca sign --certname <client.system.tld>'' and you are good to go. From now on, that system will be managed by your Puppet server. To test this you can run a ''puppet agent -t'' on the client.+To accept that certificate just run
  
-==== Removing clients ====+  puppetserver ca sign --certname <client.system.tld> 
 + 
 +and you are good to go. From now on, that system will be managed by your Puppet server. To test this you can run a ''puppet agent -t'' on the client. 
 + 
 +==== Removing ====
 In case you need to remove (decommission) a client, you can list all available certificates with  In case you need to remove (decommission) a client, you can list all available certificates with 
  
apps/puppet.1716199994.txt.gz · Last modified: 2024-05-20 10:13 by jens