Added server name to puppet client config to support client roaming.
This commit is contained in:
parent
57dd46b169
commit
dc3e87139c
2 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,10 @@ class puppet::client {
|
|||
|
||||
tag("bootstrap")
|
||||
|
||||
if ! $puppet_server {
|
||||
$puppet_server = "puppet"
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
openbsd: { $vardir = "/var/puppet" }
|
||||
default: { $vardir = "/var/lib/puppet" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue