Fix mysql deprecation warning (refs: #4522)
This commit is contained in:
@@ -114,7 +114,7 @@ class os_sql_node (
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Monitoring DB
|
# Monitoring DB
|
||||||
database { 'monitoring':
|
mysql_database { 'monitoring':
|
||||||
ensure => 'present',
|
ensure => 'present',
|
||||||
charset => 'utf8',
|
charset => 'utf8',
|
||||||
require => File['/root/.my.cnf']
|
require => File['/root/.my.cnf']
|
||||||
@@ -126,7 +126,7 @@ class os_sql_node (
|
|||||||
provider => 'mysql',
|
provider => 'mysql',
|
||||||
require => File['/root/.my.cnf']
|
require => File['/root/.my.cnf']
|
||||||
}
|
}
|
||||||
database_grant { 'clustercheckuser@localhost/monitoring':
|
mysql_grant { 'clustercheckuser@localhost/monitoring':
|
||||||
privileges => ['all']
|
privileges => ['all']
|
||||||
}
|
}
|
||||||
database_user { 'debian-sys-maint@localhost':
|
database_user { 'debian-sys-maint@localhost':
|
||||||
|
|||||||
Reference in New Issue
Block a user