Merge pull request #625 from mhaskel/lint_cleanup

Clean up lint warnings
This commit is contained in:
Travis Fields 2014-12-16 11:29:40 -08:00
commit 120e6b1dc8

View file

@ -11,23 +11,23 @@ class mysql::server::config {
}
if $includedir and $includedir != '' {
file { "$mysql::server::includedir":
file { $includedir:
ensure => directory,
mode => '0755',
recurse => $mysql::server::purge_conf_dir,
purge => $mysql::server::purge_conf_dir,
}
}
$logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false)
if $logbin {
$logbindir = dirname($logbin)
file { "$logbindir":
ensure => directory,
mode => '0755',
owner => $options['mysqld']['user'],
group => $options['mysqld']['user'],
file { $logbindir:
ensure => directory,
mode => '0755',
owner => $options['mysqld']['user'],
group => $options['mysqld']['user'],
}
}