This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:puppet [2020/06/26 04:22] – created office | fuss:puppet [2021/09/19 09:00] – [Extremely Quick Setup Guide for a Master and an Agent] office | ||
---|---|---|---|
Line 20: | Line 20: | ||
It is possible to edit ''/ | It is possible to edit ''/ | ||
+ | |||
+ | ====== Extremely Quick Setup Guide for a Master and an Agent ====== | ||
+ | |||
+ | * install Puppet using the distribution package manager | ||
+ | * to set up a master: | ||
+ | * edit ''/ | ||
+ | * add '' | ||
+ | * add '' | ||
+ | * issue '' | ||
+ | * add files to the directory, for instance '' | ||
+ | * issue '' | ||
+ | * to set up an agent: | ||
+ | * edit ''/ | ||
+ | * add '' | ||
+ | * issue '' | ||
+ | * issue '' | ||
+ | * issue '' | ||
+ | * issue '' | ||
+ | |||
+ | ====== Using Embedded Ruby to Conditionally Set Template Parameters ====== | ||
+ | |||
+ | As an example, assuming that a server is a dedicated seedbox machine, one would like to switch the TCP congestion protocol to '' | ||
+ | |||
+ | < | ||
+ | <% if @fqdn == " | ||
+ | net.ipv4.tcp_congestion_control=lp | ||
+ | <% else %> | ||
+ | net.ipv4.tcp_congestion_control=htcp | ||
+ | <% end %> | ||
+ | |||
+ | </ | ||
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.