Displaying 2 results from an estimated 2 matches for "ntp_localtim".
Did you mean:
ntp_localtime
2007 Nov 18
9
Modules, namespaces and variables
Hi there,
After quite a long time out of puppet business I''m back, and the first thing
I''m doing is rephrasing my puppet manifests using modules. I started with
the NTP module (a classic, I guess). I have (more or less) the following:
In modules/ntp/manifests/init.pp:
$ntp_localtime = "/usr/share/zoneinfo/Europe/Madrid"
class ntp {
... some stuff using the ntp_localtime variable (a file resource with
ensure => ntp_localtime) ...
}
$ntp_server = "es.pool.ntp.org"
class ntp::ntp_server inherits ntp {
... some stuff including a template that uses ntp_...
2007 Aug 16
0
No subject
...quote class=3D"gmail_=
quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt =
0pt 0.8ex; padding-left: 1ex;">
<br><div class=3D"Ih2E3d"><br>> 2. If I include ntp everything works as =
expected, and the<br>> ntp_localtime is used correctly. However if I inc=
lude<br>> ntp:ntp_server the template doesn't seem to be able to fin=
d the
<br>> ntp_server variable (Failed to parse template ntp/etc/<br>> ntp=
.conf.server: Could not find value for 'ntp_server'...