apps:puppet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apps:puppet [2019-08-11 09:16] – [And now?] Change heading jens | apps:puppet [2019-08-31 17:59] (current) – Fixing messed up headers jens | ||
---|---|---|---|
Line 4: | Line 4: | ||
Somehow, I could not find very many or good manuals on how to set up your own (basic) Puppet server on Debian, so I decided to write my own. | Somehow, I could not find very many or good manuals on how to set up your own (basic) Puppet server on Debian, so I decided to write my own. | ||
- | ==== Installation & Configuration ==== | + | ===== Installation & Configuration |
The installation in Debian (10 or later) is -- as always in Debian -- straight forward. Just run an | The installation in Debian (10 or later) is -- as always in Debian -- straight forward. Just run an | ||
apt install puppet puppet-master vim-puppet | apt install puppet puppet-master vim-puppet | ||
| | ||
- | That last package is not really needed but comes in really handy when editing your Puppet manifests in vim and you want syntax highlighting. While this would be more needed on a [[git]] client it also is nice to have on the Puppet master. | + | That last package is not really needed but comes in really handy when editing your Puppet manifests in vim and you want syntax highlighting. While this would be more needed on a [[:apps:git|git]] client it also is nice to have on the Puppet master. |
As for the main configuration file ''/ | As for the main configuration file ''/ | ||
- | ==== Manifests ==== | + | ===== Manifests |
Your manifests should be in ''/ | Your manifests should be in ''/ | ||
Line 55: | Line 55: | ||
Of course, before testing your code, you should first run it through '' | Of course, before testing your code, you should first run it through '' | ||
- | ==== Connecting Clients ==== | + | ===== Connecting Clients |
Of course, your Puppet master will be useless if it only manages itself. To connect clients to your Puppet master, make sure it is reachable on port 8140/TCP (both IPv4 and IPv6 work). | Of course, your Puppet master will be useless if it only manages itself. To connect clients to your Puppet master, make sure it is reachable on port 8140/TCP (both IPv4 and IPv6 work). | ||
Line 74: | Line 74: | ||
To accept that certificate just run '' | To accept that certificate just run '' | ||
- | === Removing clients === | + | ==== Removing clients |
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 '' | ||
- | ===== What next? ===== | + | ====== What next? ====== |
- | Now, it might be a good idea to manage your Puppet code from your workstation using [[git]]. That way you do not need to log in to the Puppet master all the time to make changes to your code as root. | + | Now, it might be a good idea to manage your Puppet code from your workstation using [[:apps:git|git]]. That way you do not need to log in to the Puppet master all the time to make changes to your code as root. |
apps/puppet.1565507814.txt.gz · Last modified: 2019-08-11 09:16 by jens