Skip to content

Commit b71c05b

Browse files
committed
Add documentation
1 parent 9d6e136 commit b71c05b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

docs/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,32 @@ to transfer files to the Puppet server. By default, this list is inferred from t
982982
`terraform apply`. Providing an explicit list of tags allows bypassing the firewall rule inference,
983983
which can be useful when the agent is in the same network as the cluster.
984984
985+
### 4.23 puppet_conf (optional)
986+
987+
**default_value** = `[]`
988+
989+
Defines additional Puppet agent settings to write to `/etc/puppetlabs/puppet/puppet.conf`
990+
on each instance during cloud-init. Each entry is an object with the following attributes:
991+
992+
- `key`: Puppet setting name.
993+
- `value`: Puppet setting value.
994+
- `section`: Puppet configuration section. Defaults to `"main"` when omitted.
995+
996+
Example:
997+
998+
```hcl
999+
puppet_conf = [
1000+
{ key = "runinterval", value = "15m" },
1001+
{ key = "log_level", value = "notice", section = "agent" }
1002+
]
1003+
```
1004+
1005+
For more information on available settings, refer to the
1006+
[Puppet configuration reference](https://help.puppet.com/core/current/Content/PuppetCore/Markdown/configuration.htm).
1007+
1008+
**Post build modification effect**: none. To change Puppet agent settings on existing
1009+
instances, edit `/etc/puppetlabs/puppet/puppet.conf` manually or rebuild the instances.
1010+
9851011
## 5. Cloud Specific Configuration
9861012
9871013
### 5.1 Amazon Web Services

0 commit comments

Comments
 (0)