Fix mysql deprecation warning (refs: #4522)

This commit is contained in:
Sebastien Badia
2013-12-26 17:17:06 +01:00
parent 064abf295c
commit a9d6cb7818

View File

@@ -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':