Skip to content

Commit 8e8d51a

Browse files
committed
Fix issue 509
1 parent c222020 commit 8e8d51a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

site/profile/manifests/prometheus.pp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@
2424
# node-exporter. Otherwise, we risk not being able to write reports
2525
User <| title == 'puppet' |> {
2626
groups +> 'node-exporter',
27-
before => File['/var/lib/node_exporter']
27+
before => File['/var/lib/node_exporter'],
28+
tag +> 'mc_bootstrap'
29+
}
30+
# Adding 'mc_bootstrap' to Group['node-exporter'] makes sure the
31+
# puppet user is added to the 'node-exporter' group during the bootstrap
32+
# phase of the puppetserver, therefore preventing the puppetserver to
33+
# while it serves catalog to other instances.
34+
Group['node-exporter'] {
35+
tag +> 'mc_boostrap'
2836
}
2937
}
3038

0 commit comments

Comments
 (0)