Skip to content

Commit 48174aa

Browse files
author
Phil Friderici
committed
fix: reformat and unify examples
1 parent 391c9c0 commit 48174aa

File tree

3 files changed

+23
-25
lines changed

3 files changed

+23
-25
lines changed

REFERENCE.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040

4141
### Resource types
4242

43-
* [`zabbix_application`](#zabbix_application): %q(Manage zabbix applications zabbix_application{"app1": ensure => present, template => 'template1', } It Raise excep
43+
* [`zabbix_application`](#zabbix_application): Manage zabbix applications Example: zabbix_application{"app1": ensure => present, template => 'template1', } It Raise exceptio
4444
* [`zabbix_host`](#zabbix_host): FQDN of the machine.
4545
* [`zabbix_hostgroup`](#zabbix_hostgroup): Manage zabbix hostgroups
4646
* [`zabbix_proxy`](#zabbix_proxy): FQDN of the proxy.
4747
* [`zabbix_template`](#zabbix_template): The name of template.
48-
* [`zabbix_template_host`](#zabbix_template_host): Link or Unlink template to host. Only for Zabbix < 6.0! Example. Name should be in the format of "template_name@hostname" zabbix_template_ho
48+
* [`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
4949
* [`zabbix_userparameters`](#zabbix_userparameters): An unique name for this define.
5050

5151
### Data types
@@ -5927,17 +5927,15 @@ Default value: `'0644'`
59275927

59285928
### <a name="zabbix_application"></a>`zabbix_application`
59295929

5930-
%q(Manage zabbix applications
5931-
5932-
zabbix_application{"app1":
5933-
ensure => present,
5934-
template => 'template1',
5935-
}
5930+
Manage zabbix applications
59365931

5932+
Example:
5933+
zabbix_application{"app1":
5934+
ensure => present,
5935+
template => 'template1',
5936+
}
59375937
It Raise exception on deleting an application which is a part of used template.
59385938

5939-
)
5940-
59415939
#### Properties
59425940

59435941
The following properties are available in the `zabbix_application` type.
@@ -6250,12 +6248,12 @@ Zabbix version that the template will be installed on.
62506248
### <a name="zabbix_template_host"></a>`zabbix_template_host`
62516249

62526250
Link or Unlink template to host. Only for Zabbix < 6.0!
6253-
Example.
6254-
Name should be in the format of "template_name@hostname"
62556251

6256-
zabbix_template_host{ 'mysql_template@db1':
6257-
ensure => present,
6258-
}
6252+
Example:
6253+
zabbix_template_host{ 'mysql_template@db1':
6254+
ensure => present,
6255+
}
6256+
Name should be in the format of "template_name@hostname"
62596257

62606258
#### Properties
62616259

lib/puppet/type/zabbix_application.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# frozen_string_literal: true
22

33
Puppet::Type.newtype(:zabbix_application) do
4-
@doc = %q(Manage zabbix applications
4+
@doc = <<-DOC
5+
Manage zabbix applications
56
7+
Example:
68
zabbix_application{"app1":
79
ensure => present,
810
template => 'template1',
911
}
10-
11-
It Raise exception on deleting an application which is a part of used template.
12-
13-
)
12+
It Raise exception on deleting an application which is a part of used template.
13+
DOC
1414

1515
ensurable do
1616
defaultvalues

lib/puppet/type/zabbix_template_host.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Puppet::Type.newtype(:zabbix_template_host) do
44
@doc = <<-DOC
55
Link or Unlink template to host. Only for Zabbix < 6.0!
6-
Example.
7-
Name should be in the format of "template_name@hostname"
86
9-
zabbix_template_host{ 'mysql_template@db1':
10-
ensure => present,
11-
}
7+
Example:
8+
zabbix_template_host{ 'mysql_template@db1':
9+
ensure => present,
10+
}
11+
Name should be in the format of "template_name@hostname"
1212
DOC
1313

1414
ensurable do

0 commit comments

Comments
 (0)