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

Unified Diff: modules/adblockplus/manifests/host/downloadserver.pp

Issue 29363786: Issue 4663 - Realize server16 known_hosts record in downloadserver role (Closed)
Patch Set: Do not mention Nagios in class description (copy+paste error) Created Nov. 22, 2016, 4:47 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/host/downloadserver.pp
diff --git a/modules/adblockplus/manifests/host/downloadserver.pp b/modules/adblockplus/manifests/host/downloadserver.pp
new file mode 100644
index 0000000000000000000000000000000000000000..92b75d4c430973bf3ead00805fa2531cd4af9dab
--- /dev/null
+++ b/modules/adblockplus/manifests/host/downloadserver.pp
@@ -0,0 +1,15 @@
+# == Type: adblockplus::host::downloadserver
+#
+# Resource definitions for any host recognized, included automatically with type
+# adblockplus::host if the current node's $::role is 'downloadserver'.
+#
+define adblockplus::host::downloadserver {
+
+ # Unfortunately one cannot use a role here, as the resources on server16 are
+ # not part of the configuration-management controlled services yet
+ if $title == 'server16' {
+
+ # https://issues.adblockplus.org/ticket/4663
+ realize(Sshkey[$title])
+ }
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld