OLD | NEW |
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 package {['mercurial', 'vim', 'emacs', 'debian-goodies', 'htop']: | |
6 ensure => present, | |
7 } | |
8 | |
9 class {'users': | 5 class {'users': |
10 stage => 'setup', | 6 stage => 'setup', |
11 } | 7 } |
12 | 8 |
13 class {'logrotate': | 9 class {'logrotate': |
14 stage => 'runtime', | 10 stage => 'runtime', |
15 } | 11 } |
16 | 12 |
17 $servers = hiera('servers') | 13 $servers = hiera('servers') |
18 create_resources(base::explicit_host_record, $servers) | 14 create_resources(base::explicit_host_record, $servers) |
(...skipping 30 matching lines...) Expand all Loading... |
49 public_key => $public_key, | 45 public_key => $public_key, |
50 } | 46 } |
51 | 47 |
52 # Implicit realization behavior has been introduced by accident in a | 48 # Implicit realization behavior has been introduced by accident in a |
53 # previous version, hence it should be kept until class base is obsolete | 49 # previous version, hence it should be kept until class base is obsolete |
54 # and the obsolete records have been removed | 50 # and the obsolete records have been removed |
55 realize(Host[$title]) | 51 realize(Host[$title]) |
56 realize(Sshkey[$title]) | 52 realize(Sshkey[$title]) |
57 } | 53 } |
58 } | 54 } |
OLD | NEW |