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 != '' { 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'],
} }
} }