Module: Puppet::Util::Zabbix
- Defined in:
- lib/puppet/util/zabbix.rb
Overview
this module adds additional params to a puppet type
Class Method Summary collapse
-
.add_zabbix_type_methods(type) ⇒ Object
rubocop:disable Style/ClassAndModuleChildren.
Class Method Details
.add_zabbix_type_methods(type) ⇒ Object
rubocop:disable Style/ClassAndModuleChildren
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/puppet/util/zabbix.rb', line 4 def self.add_zabbix_type_methods(type) type.newparam(:zabbix_url) do desc 'The url on which the zabbix-api is available.' end type.newparam(:zabbix_user) do desc 'Zabbix-api username.' end type.newparam(:zabbix_pass) do desc 'Zabbix-api password.' end type.newparam(:apache_use_ssl) do desc 'If apache is uses with ssl' end end |