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

Side by Side Diff: modules/base/manifests/init.pp

Issue 29340810: Issue 3575 - Include class logrotate from adblockplus instead of base (Closed)
Patch Set: Created April 25, 2016, 6:36 a.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/init.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class base ($zone='adblockplus.org') { 1 class base ($zone='adblockplus.org') {
2 2
3 include postfix, ssh, stdlib 3 include postfix, ssh, stdlib
4 4
5 class {'logrotate':
6 stage => 'runtime',
7 }
8
9 $servers = hiera('servers') 5 $servers = hiera('servers')
10 create_resources(base::explicit_host_record, $servers) 6 create_resources(base::explicit_host_record, $servers)
11 7
12 define explicit_host_record( 8 define explicit_host_record(
13 $ip, 9 $ip,
14 $ssh_public_key = undef, 10 $ssh_public_key = undef,
15 $role = undef, 11 $role = undef,
16 $dns = undef, 12 $dns = undef,
17 $groups = undef, 13 $groups = undef,
18 ) { 14 ) {
(...skipping 22 matching lines...) Expand all
41 public_key => $public_key, 37 public_key => $public_key,
42 } 38 }
43 39
44 # Implicit realization behavior has been introduced by accident in a 40 # Implicit realization behavior has been introduced by accident in a
45 # previous version, hence it should be kept until class base is obsolete 41 # previous version, hence it should be kept until class base is obsolete
46 # and the obsolete records have been removed 42 # and the obsolete records have been removed
47 realize(Host[$title]) 43 realize(Host[$title])
48 realize(Sshkey[$title]) 44 realize(Sshkey[$title])
49 } 45 }
50 } 46 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld