Merge "Remove ::1 mysql root user."

This commit is contained in:
Jenkins 2013-10-12 20:56:12 +00:00 committed by Gerrit Code Review
commit 41a0740cf7
4 changed files with 17 additions and 0 deletions

View File

@ -271,6 +271,10 @@ class gerrit(
}
}
include mysql::server::account_security
mysql::database_user { 'root@::1':
ensure => absent,
require => Class['mysql::config'],
}
mysql::db { 'reviewdb':
user => 'gerrit2',

View File

@ -209,6 +209,10 @@ class jenkins::slave(
}
}
include mysql::server::account_security
mysql::database_user { 'root@::1':
ensure => absent,
require => Class['mysql::config'],
}
mysql::db { 'openstack_citest':
user => 'openstack_citest',

View File

@ -35,6 +35,11 @@ class nodepool (
}
include mysql::server::account_security
mysql::database_user { 'root@::1':
ensure => absent,
require => Class['mysql::config'],
}
include mysql::python
mysql::db { 'nodepool':

View File

@ -46,6 +46,10 @@ class openstack_project::wiki (
}
}
include mysql::server::account_security
mysql::database_user { 'root@::1':
ensure => absent,
require => Class['mysql::config'],
}
mysql_backup::backup { 'wiki':
require => Class['mysql::server'],