summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-14 23:03:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-14 23:03:00 +0200
commitfa5902c8a34561af604571e1db604b70a2b6fb18 (patch)
treed1475b9c7947a52f077f97c96cf82e8a51faa94a
parentphpLDAPadmin change configuration of webroot. (diff)
downloadprofiles-fa5902c8a34561af604571e1db604b70a2b6fb18.tar.gz
profiles-fa5902c8a34561af604571e1db604b70a2b6fb18.tar.xz
Puppetserver: lint cleanup.
-rw-r--r--manifests/puppetserver.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/puppetserver.pp b/manifests/puppetserver.pp
index 0dc25a1..e8f5a1a 100644
--- a/manifests/puppetserver.pp
+++ b/manifests/puppetserver.pp
@@ -33,12 +33,12 @@ class profiles::puppetserver (
ensure_packages(['python3-yaml'])
inifile::create_ini_settings(
- { common => {
+ { common => {
node_fmt => yaml,
nodes => '/puppet/nodes.yaml',
},
},
- {
+ {
path => '/etc/node-classifier.ini',
}
)
@@ -76,9 +76,9 @@ class profiles::puppetserver (
# TODO
# apt install puppetdb-termini
- file { "/etc/puppetlabs/puppet/hiera.yaml":
- ensure => file,
- content => hash2yaml($hiera, {
+ file { '/etc/puppetlabs/puppet/hiera.yaml':
+ ensure => file,
+ content => hash2yaml($hiera, {
'header' => '# This file is managed by puppet',
}),
}