Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/manifests/host/monitoringserver.pp

Issue 29341151: Issue 4019 - Added "Edge" to platform choices in Issues tracker at issues1. (Closed)
Patch Set: Created May 10, 2016, 3:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/adblockplus/manifests/host/example.pp ('k') | modules/adblockplus/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # == Type: adblockplus::host::monitoringserver
2 #
3 # Nagios definitions for any host recognized, included automatically with type
4 # adblockplus::host if the current node's $::role is 'monitoringserver'.
5 #
6 define adblockplus::host::monitoringserver {
7
8 $ensure = getparam(Adblockplus::Host[$title], 'ensure')
9 $fqdn = getparam(Adblockplus::Host[$title], 'fqdn')
10 $groups = getparam(Adblockplus::Host[$title], 'groups')
11
12 nagios_host {$fqdn:
13 ensure => $ensure,
14 hostgroups => $groups,
15 use => 'generic-host',
16 }
17 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/host/example.pp ('k') | modules/adblockplus/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld