LEFT | RIGHT |
1 # == Type: adblockplus::host::downloadserver | 1 # == Type: adblockplus::host::downloadserver |
2 # | 2 # |
3 # Nagios definitions for any host recognized, included automatically with type | 3 # Resource definitions for any host recognized, included automatically with type |
4 # adblockplus::host if the current node's $::role is 'downloadserver'. | 4 # adblockplus::host if the current node's $::role is 'downloadserver'. |
5 # | 5 # |
6 define adblockplus::host::downloadserver { | 6 define adblockplus::host::downloadserver { |
7 | 7 |
8 # Unfortunately one cannot use a role here, as the resources on server16 are | 8 # Unfortunately one cannot use a role here, as the resources on server16 are |
9 # not part of the configuration-management controlled services yet | 9 # not part of the configuration-management controlled services yet |
10 if $title == 'server16' { | 10 if $title == 'server16' { |
11 | 11 |
12 # https://issues.adblockplus.org/ticket/4663 | 12 # https://issues.adblockplus.org/ticket/4663 |
13 realize(Sshkey[$title]) | 13 realize(Sshkey[$title]) |
14 } | 14 } |
15 } | 15 } |
LEFT | RIGHT |