1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-20 04:30:36 +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 #### Parameters
`manage_repo` `repo_manage`
Include repository to install recent fluentd (td-agent) from. Include repository to install recent fluentd (td-agent) from.
**Default:** 'true' **Default:** 'true'

View File

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

View File

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

View File

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