Add back index
This commit is contained in:
parent
61c56fd2f2
commit
08243f555d
|
@ -29,7 +29,7 @@ define sunetdrive::db_type(
|
||||||
$mysql_user_password = safe_hiera('mysql_user_password')
|
$mysql_user_password = safe_hiera('mysql_user_password')
|
||||||
$mariadb_dir = '/etc/mariadb'
|
$mariadb_dir = '/etc/mariadb'
|
||||||
$mycnf_path = 'sunetdrive/mariadb/my.cnf.erb'
|
$mycnf_path = 'sunetdrive/mariadb/my.cnf.erb'
|
||||||
$server_id = 1000 + Integer($facts['networking']['hostname'])
|
$server_id = 1000 + Integer($facts['networking']['hostname'][-1])
|
||||||
ensure_resource('file',$mariadb_dir, { ensure => directory, recurse => true } )
|
ensure_resource('file',$mariadb_dir, { ensure => directory, recurse => true } )
|
||||||
$dirs = ['datadir', 'init', 'conf', 'backups', 'scripts' ]
|
$dirs = ['datadir', 'init', 'conf', 'backups', 'scripts' ]
|
||||||
$dirs.each |$dir| {
|
$dirs.each |$dir| {
|
||||||
|
|
Loading…
Reference in a new issue