Skip to content

Commit

Permalink
prometheus: Include nginx exporter in nginx class
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox committed Jul 3, 2019
1 parent 2d9dda0 commit b2a0c60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/prometheus/manifests/init.pp
Expand Up @@ -13,6 +13,7 @@
require_package('prometheus')

$host = query_nodes("domain='$domain'", 'fqdn')
$host_nginx = query_nodes("domain='$domain' and Class[Prometheus::Nginx]", 'fqdn')
file { '/etc/prometheus/prometheus.yml':
content => template('prometheus/prometheus.yml.erb'),
owner => 'root',
Expand Down

0 comments on commit b2a0c60

Please sign in to comment.