including the dashboard metrics module for peadm-04
This commit is contained in:
parent
d8f5a0d673
commit
27efea4a2a
@ -38,6 +38,10 @@ mod 'puppetlabs-puppet_metrics_dashboard', '2.0.1'
|
||||
mod 'dylanratcliffe-facter_cache', '1.2.0'
|
||||
mod 'puppetlabs-support_tasks', '1.1.1'
|
||||
mod 'puppetlabs-puppet_agent', '3.0.2'
|
||||
mod 'puppetlabs-apt', '7.4.1'
|
||||
mod 'puppetlabs-translate', '2.2.0'
|
||||
mod 'puppet-grafana', '6.1.0'
|
||||
mod 'puppet-telegraf', '3.0.0'
|
||||
|
||||
# Modules from Git
|
||||
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
|
||||
|
@ -36,6 +36,12 @@ node 'puppet' {
|
||||
|
||||
}
|
||||
|
||||
node 'peadm-04.pe' {
|
||||
|
||||
include profile::metrics_dashboard
|
||||
|
||||
}
|
||||
|
||||
node default {
|
||||
|
||||
if $trusted['extensions']['pp_role'] {
|
||||
|
19
site-modules/profile/manifests/metrics_dashboard.pp
Normal file
19
site-modules/profile/manifests/metrics_dashboard.pp
Normal file
@ -0,0 +1,19 @@
|
||||
class profile::metrics_dashboard (
|
||||
|
||||
Boolean $dashboard_examples = true,
|
||||
Boolean $overwrite_dashboards = false,
|
||||
Optional[Array] $master_list = ['peadm-01.pe'],
|
||||
Optional[Array] $puppetdb_list = ['peadm-01.pe'],
|
||||
Optional[Array] $postgres_host_list = ['peadm-01.pe'],
|
||||
|
||||
) {
|
||||
|
||||
class { 'puppet_metrics_dashboard':
|
||||
add_dashboard_examples => $dashboard_examples,
|
||||
overwrite_dashboards => $overwrite_dashboards,
|
||||
master_list => $master_list,
|
||||
puppetdb_list => $puppetdb_list,
|
||||
postgres_host_list => $postgres_host_list,
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user