We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 381b4f2 commit 727775dCopy full SHA for 727775d
site/profile/manifests/prometheus.pp
@@ -24,7 +24,15 @@
24
# node-exporter. Otherwise, we risk not being able to write reports
25
User <| title == 'puppet' |> {
26
groups +> 'node-exporter',
27
- before => File['/var/lib/node_exporter']
+ 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'
36
}
37
38
0 commit comments