- case extractnodeinfo($nodeinfo, 'apache2_security_mirror') {
- "true": { include apache2::security_mirror }
- default: { include apache2 }
+ case getfromhash($nodeinfo, 'apache2_security_mirror') {
+ true: { include apache2::security_mirror }
+ }
+ case getfromhash($nodeinfo, 'apache2_www_mirror') {
+ true: { include apache2::www_mirror }
+ }
+ case getfromhash($nodeinfo, 'apache2_backports_mirror') {
+ true: { include apache2::backports_mirror }
+ }
+ case getfromhash($nodeinfo, 'apache2_ftp-upcoming_mirror') {
+ true: { include apache2::ftp-upcoming_mirror }