| 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   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  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|