Skip to content

Commit

Permalink
Merge pull request #625 from mhaskel/lint_cleanup
Browse files Browse the repository at this point in the history
Clean up lint warnings
  • Loading branch information
cyberious committed Dec 16, 2014
2 parents 407e869 + a367b3e commit 120e6b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
}

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

Expand Down

0 comments on commit 120e6b1

Please sign in to comment.