Skip to content

Commit

Permalink
Fixed grant for icinga user
Browse files Browse the repository at this point in the history
The ::icinga2::feature::idomysql class by defaults connect to 127.0.0.1.  The icinga mysql user grants must match.
  • Loading branch information
rgevaert authored and n00by committed Apr 26, 2018
1 parent 3b7f718 commit 7cadccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ include ::mysql::server
mysql::db { 'icinga2':
user => 'icinga2',
password => 'supersecret',
host => 'localhost',
host => '127.0.0.1',
grant => ['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'DROP', 'CREATE VIEW', 'CREATE', 'INDEX', 'EXECUTE', 'ALTER'],
}
Expand Down

0 comments on commit 7cadccc

Please sign in to comment.