mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
removed unused $ensure parameter
This commit is contained in:
parent
240c4b37b8
commit
8e1a9035f0
@ -43,7 +43,6 @@
|
|||||||
# Copyright 2015 wywy GmbH, unless otherwise noted.
|
# Copyright 2015 wywy GmbH, unless otherwise noted.
|
||||||
#
|
#
|
||||||
class fluentd (
|
class fluentd (
|
||||||
$ensure = $::fluentd::params::ensure,
|
|
||||||
$manage_repo = $::fluentd::params::manage_repo,
|
$manage_repo = $::fluentd::params::manage_repo,
|
||||||
$package_ensure = $::fluentd::params::package_ensure,
|
$package_ensure = $::fluentd::params::package_ensure,
|
||||||
$package_name = $::fluentd::params::package_name,
|
$package_name = $::fluentd::params::package_name,
|
||||||
@ -55,7 +54,6 @@ class fluentd (
|
|||||||
) inherits fluentd::params {
|
) inherits fluentd::params {
|
||||||
|
|
||||||
# parameter validation
|
# parameter validation
|
||||||
validate_string($ensure)
|
|
||||||
validate_bool($manage_repo)
|
validate_bool($manage_repo)
|
||||||
validate_string($package_ensure)
|
validate_string($package_ensure)
|
||||||
validate_string($package_name)
|
validate_string($package_name)
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
class fluentd::params {
|
class fluentd::params {
|
||||||
$ensure = 'present'
|
|
||||||
# package params
|
# package params
|
||||||
$package_ensure = 'installed'
|
$package_ensure = 'installed'
|
||||||
$package_name = 'td-agent'
|
$package_name = 'td-agent'
|
||||||
|
Loading…
Reference in New Issue
Block a user