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

Unified Diff: modules/adblockplus/manifests/host/example.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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/adblockplus/manifests/host.pp ('k') | modules/adblockplus/manifests/host/monitoringserver.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/host/example.pp
===================================================================
deleted file mode 100644
--- a/modules/adblockplus/manifests/host/example.pp
+++ /dev/null
@@ -1,25 +0,0 @@
-# == Type: adblockplus::host::example
-#
-# An example on how to apply resource definitions that are specific to the
-# current node's $::role, but need to recognize or correspond to a subset of
-# all hosts within the same environment. One can introduce another manifest
-# corresponding to the adblockplus::host::$::role pattern when integrating
-# resources that are set up based on individual host information.
-#
-# This workaround is required due to the circumstance that module adblockplus
-# must still remain Puppet 2.7 compatible, which does not feature sophisticated
-# iteration over i.e. resource definitions or collectors, hence makes it very
-# difficult to re-use information whilst maintaining clear abstraction.
-#
-# See type adblockplus::host for more information.
-#
-define adblockplus::host::example {
-
- # Puppetlab's stdlib allows for accessing host parameters
- $fqdn = getparam(Adblockplus::Host[$title], 'fqdn')
-
- # Examplary resource without side-effects
- notify {"$fqdn#example":
- message => "Place definitions requiring information about host $fqdn here",
- }
-}
« no previous file with comments | « modules/adblockplus/manifests/host.pp ('k') | modules/adblockplus/manifests/host/monitoringserver.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld