diff --git a/REFERENCE.md b/REFERENCE.md index 149476f4b..b91cc2c17 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -41,12 +41,12 @@ ### Resource types * [`zabbix_application`](#zabbix_application): Manage zabbix applications Example: zabbix_application{"app1": ensure => present, template => 'template1', } It Raise exceptio -* [`zabbix_host`](#zabbix_host): FQDN of the machine. +* [`zabbix_host`](#zabbix_host): Manage zabbix hosts * [`zabbix_hostgroup`](#zabbix_hostgroup): Manage zabbix hostgroups -* [`zabbix_proxy`](#zabbix_proxy): FQDN of the proxy. -* [`zabbix_template`](#zabbix_template): The name of template. +* [`zabbix_proxy`](#zabbix_proxy): Manage zabbix proxies +* [`zabbix_template`](#zabbix_template): Manage zabbix templates * [`zabbix_template_host`](#zabbix_template_host): Link or Unlink template to host. Only for Zabbix < 6.0! Example: zabbix_template_host{ 'mysql_template@db1': ensure => present, } Na -* [`zabbix_userparameters`](#zabbix_userparameters): An unique name for this define. +* [`zabbix_userparameters`](#zabbix_userparameters): Manage zabbix user templates ### Data types @@ -5973,7 +5973,7 @@ template to which the application is linked ### `zabbix_host` -FQDN of the machine. +Manage zabbix hosts #### Properties @@ -6112,7 +6112,7 @@ usually discover the appropriate provider for your platform. ### `zabbix_proxy` -FQDN of the proxy. +Manage zabbix proxies #### Properties @@ -6170,7 +6170,7 @@ usually discover the appropriate provider for your platform. ### `zabbix_template` -The name of template. +Manage zabbix templates #### Properties @@ -6289,7 +6289,7 @@ will usually discover the appropriate provider for your platform. ### `zabbix_userparameters` -An unique name for this define. +Manage zabbix user templates #### Properties diff --git a/lib/puppet/type/zabbix_application.rb b/lib/puppet/type/zabbix_application.rb index d01307b83..aa6890074 100644 --- a/lib/puppet/type/zabbix_application.rb +++ b/lib/puppet/type/zabbix_application.rb @@ -13,6 +13,7 @@ DOC ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end diff --git a/lib/puppet/type/zabbix_host.rb b/lib/puppet/type/zabbix_host.rb index a5b929979..e1f605e29 100644 --- a/lib/puppet/type/zabbix_host.rb +++ b/lib/puppet/type/zabbix_host.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true Puppet::Type.newtype(:zabbix_host) do + @doc = 'Manage zabbix hosts' + ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end diff --git a/lib/puppet/type/zabbix_hostgroup.rb b/lib/puppet/type/zabbix_hostgroup.rb index 29c141ee2..01c5161d3 100644 --- a/lib/puppet/type/zabbix_hostgroup.rb +++ b/lib/puppet/type/zabbix_hostgroup.rb @@ -4,6 +4,7 @@ @doc = 'Manage zabbix hostgroups' ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end diff --git a/lib/puppet/type/zabbix_proxy.rb b/lib/puppet/type/zabbix_proxy.rb index bad3b7b1b..39f8d7a41 100644 --- a/lib/puppet/type/zabbix_proxy.rb +++ b/lib/puppet/type/zabbix_proxy.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true Puppet::Type.newtype(:zabbix_proxy) do + @doc = 'Manage zabbix proxies' + ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end diff --git a/lib/puppet/type/zabbix_template.rb b/lib/puppet/type/zabbix_template.rb index 00e552a18..8bcb20016 100644 --- a/lib/puppet/type/zabbix_template.rb +++ b/lib/puppet/type/zabbix_template.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true Puppet::Type.newtype(:zabbix_template) do + @doc = 'Manage zabbix templates' + ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present diff --git a/lib/puppet/type/zabbix_template_host.rb b/lib/puppet/type/zabbix_template_host.rb index 1e82ba022..cde6c59f4 100644 --- a/lib/puppet/type/zabbix_template_host.rb +++ b/lib/puppet/type/zabbix_template_host.rb @@ -12,6 +12,7 @@ DOC ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end diff --git a/lib/puppet/type/zabbix_userparameters.rb b/lib/puppet/type/zabbix_userparameters.rb index 13d81b489..cf592e886 100644 --- a/lib/puppet/type/zabbix_userparameters.rb +++ b/lib/puppet/type/zabbix_userparameters.rb @@ -2,7 +2,10 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..')) Puppet::Type.newtype(:zabbix_userparameters) do + @doc = 'Manage zabbix user templates' + ensurable do + desc 'The basic property that the resource should be in.' defaultvalues defaultto :present end