Merge pull request #625 from mhaskel/lint_cleanup
Clean up lint warnings
This commit is contained in:
commit
120e6b1dc8
1 changed files with 8 additions and 8 deletions
|
@ -11,23 +11,23 @@ class mysql::server::config {
|
||||||
}
|
}
|
||||||
|
|
||||||
if $includedir and $includedir != '' {
|
if $includedir and $includedir != '' {
|
||||||
file { "$mysql::server::includedir":
|
file { $includedir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
recurse => $mysql::server::purge_conf_dir,
|
recurse => $mysql::server::purge_conf_dir,
|
||||||
purge => $mysql::server::purge_conf_dir,
|
purge => $mysql::server::purge_conf_dir,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
|
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
|
||||||
|
|
||||||
if $logbin {
|
if $logbin {
|
||||||
$logbindir = dirname($logbin)
|
$logbindir = dirname($logbin)
|
||||||
file { "$logbindir":
|
file { $logbindir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
owner => $options['mysqld']['user'],
|
owner => $options['mysqld']['user'],
|
||||||
group => $options['mysqld']['user'],
|
group => $options['mysqld']['user'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue