Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8390959
init_idomysql.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
594 B
Subscribers
None
init_idomysql.pp
View Options
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
Details
Attached
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
Attached To
rSPICI Icinga 2 Puppet Module
Event Timeline
Log In to Comment