Add module `icinga2_pgsql'
This commit is contained in:
parent
2cf7563f2e
commit
94869bff5e
|
@ -0,0 +1,17 @@
|
||||||
|
class icinga2_pgsql {
|
||||||
|
include icinga2
|
||||||
|
include icinga_packages
|
||||||
|
|
||||||
|
package { 'icinga2-ido-pgsql':
|
||||||
|
ensure => latest,
|
||||||
|
require => Class['icinga_packages'],
|
||||||
|
}
|
||||||
|
-> pgsql::database::populate { 'icinga2':
|
||||||
|
username => 'icinga2',
|
||||||
|
password => 'icinga2',
|
||||||
|
schemafile => '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql',
|
||||||
|
}
|
||||||
|
-> icinga2::feature { 'ido-pgsql':
|
||||||
|
source => 'puppet:///modules/icinga2_pgsql',
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue