Page MenuHomeSoftware Heritage

init_idomysql.pp
No OneTemporary

init_idomysql.pp

case $::osfamily {
'redhat': {
package { 'epel-release': }
} # RedHat
}
$dbpass = 'super)secret'
include ::mysql::server
mysql::db { 'icinga2':
user => 'icinga2',
password => $dbpass,
host => 'localhost',
grant => ['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'DROP', 'CREATE VIEW', 'CREATE', 'INDEX', 'EXECUTE', 'ALTER'],
}
class { '::icinga2':
manage_repo => true,
}
class{ '::icinga2::feature::idomysql':
user => 'icinga2',
password => $dbpass,
database => 'icinga2',
import_schema => true,
require => Mysql::Db['icinga2'],
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:37 PM (14 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3378115

Event Timeline