1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00

renamed manage_repo to repo_manage

consistency
This commit is contained in:
Max Wilhelm 2016-01-22 18:50:04 +01:00
parent 2e5892663e
commit afc59cb27e
4 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ include '::fluentd'
#### Parameters
`manage_repo`
`repo_manage`
Include repository to install recent fluentd (td-agent) from.
**Default:** 'true'

View File

@ -5,7 +5,7 @@
#
# Parameters
# ----------
# [*manage_repo*]
# [*repo_manage*]
# Include repository to install recent fluentd (td-agent) from
# Default: 'true'
# [*package_ensure*]
@ -53,7 +53,7 @@
# Copyright 2015 wywy GmbH, unless otherwise noted.
#
class fluentd (
$manage_repo = $::fluentd::params::manage_repo,
$repo_manage = $::fluentd::params::repo_manage,
$package_ensure = $::fluentd::params::package_ensure,
$package_name = $::fluentd::params::package_name,
$package_install_options = $::fluentd::params::package_install_options,
@ -71,7 +71,7 @@ class fluentd (
) inherits fluentd::params {
# parameter validation
validate_bool($manage_repo)
validate_bool($repo_manage)
validate_string($package_ensure)
validate_string($package_name)
validate_array($package_install_options)

View File

@ -22,7 +22,7 @@ class fluentd::params {
'Debian': {
case $::operatingsystem {
'Ubuntu': {
$manage_repo = true
$repo_manage = true
}
default: {
fail("Unsupported osfamily: ${::operatingsystem}")

View File

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