Skip to content

Commit

Permalink
Style changes to comply to new community plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoneycutt committed Jan 17, 2016
1 parent 3815eac commit 23c7530
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifests/fragment.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$content = undef,
) {

include rsyslog
include ::rsyslog

validate_re($ensure, ['file','absent'])
validate_string($content)
Expand Down
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
/^6\.*/: {
$default_pid_file = '/var/run/syslogd.pid'
$sysconfig_erb = 'sysconfig.rhel6.erb'
$default_syslogd_options = ''
$default_syslogd_options = undef
$default_mod_imjournal = false
}
/^7\.*/: {
Expand Down Expand Up @@ -218,7 +218,7 @@
$default_logrotate_present = true
$default_service_name = 'syslog'
$default_sysconfig_path = '/etc/sysconfig/syslog'
$default_syslogd_options = ''
$default_syslogd_options = undef
$default_pid_file = '/var/run/rsyslogd.pid'
$default_mod_imjournal = false
case $::operatingsystemrelease {
Expand Down Expand Up @@ -468,7 +468,7 @@
# logging servers do not log elsewhere
$remote_logging_real = false

include common
include ::common

common::mkdir_p { $log_dir: }

Expand Down
2 changes: 1 addition & 1 deletion tests/init.pp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include rsyslog
include ::rsyslog

0 comments on commit 23c7530

Please sign in to comment.