Commit 392f3f54 authored by Walter Heck's avatar Walter Heck

Add a mysql user and password for the icinga2 user

parent 10b1db09
Pipeline #347 passed with stages
in 2 minutes and 22 seconds
......@@ -11,6 +11,11 @@ class opstheater::profile::icinga::db (
grant => ['ALL'],
}
mysql_user { "icinga2@${mysql_whitelist_range}":
ensure => present,
password_hash => mysql_password($icinga2_ido_password),
}
mysql_grant { "icinga2@${mysql_whitelist_range}/icinga2.*":
ensure => 'present',
privileges => ['ALL'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment