1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-14 14:00:36 +00:00

fixed lint warnings

This commit is contained in:
Max Wilhelm 2015-12-07 11:09:31 +01:00
parent 9d2175411b
commit 922914c32b
7 changed files with 28 additions and 28 deletions

View File

@ -2,18 +2,18 @@
# #
class fluentd::config inherits fluentd { class fluentd::config inherits fluentd {
file { $config_file: file { $::fluentd::config_file:
ensure => file, ensure => file,
owner => 'root', owner => 'root',
group => 'root', group => 'root',
source => "puppet:///modules/fluentd/td-agent.conf", source => 'puppet:///modules/fluentd/td-agent.conf',
notify => Class['Fluentd::Service'], notify => Class['Fluentd::Service'],
} }
file { $conf_dir: file { $::fluentd::conf_dir:
ensure => 'directory', ensure => 'directory',
owner => $user_name, owner => $::fluentd::user_name,
group => $user_group, group => $::fluentd::user_group,
mode => '0750', mode => '0750',
} }

View File

@ -3,9 +3,9 @@
class fluentd::install inherits fluentd { class fluentd::install inherits fluentd {
package { 'fluentd': package { 'fluentd':
ensure => $package_ensure, ensure => $::fluentd::package_ensure,
name => $package_name, name => $::fluentd::package_name,
install_options => $package_install_options, install_options => $::fluentd::package_install_options,
} }
} }

View File

@ -1,7 +1,7 @@
# Configure package repository # Configure package repository
# #
class fluentd::repo inherits fluentd { class fluentd::repo inherits fluentd {
if $manage_repo { if $::fluentd::manage_repo {
case $::osfamily { case $::osfamily {
'Debian': { 'Debian': {
include ::fluentd::repo::apt include ::fluentd::repo::apt

View File

@ -2,11 +2,11 @@
# #
class fluentd::service inherits fluentd { class fluentd::service inherits fluentd {
if $service_manage { if $::fluentd::service_manage {
service { 'fluentd': service { 'fluentd':
name => $service_name, ensure => $::fluentd::service_ensure,
ensure => $service_ensure, name => $::fluentd::service_name,
enable => $service_enable, enable => $::fluentd::service_enable,
hasstatus => true, hasstatus => true,
hasrestart => true, hasrestart => true,
} }