search for: ppclass

Displaying 1 result from an estimated 1 matches for "ppclass".

Did you mean: pclass
2013 May 02
3
How to refer to common variables across multiple modules?
...server IP address. Is the correct approach to create a ''common'' class where these variables are defined and then reference them from each module and create a class dependancy as below. We are using a custom ENC which outputs the class parameters. # modules/common/manifest/init.ppclass common ( $radius_ip, $fw_ip, $zabbix_ip,) {} # modules/common/manifest/apache.ppclass apache ( $fw_ip = $common::fw_ip, $zabbix_ip =$common::zabbix_ip,) { class { ''common'': } -> class { ''apache'': }} # modules/common/manifest/maradns.ppclass mara...