search for: ntp_client_domain1

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

2006 Nov 03
1
Reusable definitions
...ybe using inheritance? Kind of: class abstract_ntp_client { $ntp_server = "es.pool.ntp.org" package { ntp ... } file { "/etc/ntp.conf" : content => template( "ntp.conf" ) ... <= Template using <%= ntp_server %> } service { ntpd ... } } class ntp_client_domain1 inherits abstract_ntp_client { $ntp_server = "server.domain1.com" } node node1 { include ntp_client_domain1 } I guess my problem is that I would like to have some kind of reusable definitions that I can "instantiate" providing some parameters, so I can describe classes and...