Displaying 17 results from an estimated 17 matches for "ntp_servers".
Did you mean:
ntp_server
2006 Nov 03
1
Reusable definitions
Hi there,
I would like to use puppet to configure two networks and one of the first
things I''ve tried to do is to describe ntp configuration. Each network has a
ntp server that acts as a proxy for internal nodes, so those internal nodes
share the same configuration except for the server they use to get the time.
Attempting to describe this I''ve thought of several approaches,
2007 Aug 24
4
Variable scope: Class inheritance vs Include statement.
Hello.
I''m a long time cfengine user, some might say sufferer, and I have
finally managed to get around to experimenting with Puppet. So far I''m
very impressed.
I am trying to get puppet to configure the openntpd config file, from
an ERB template, based on the node definition in the site config.
What I''m trying to understand is why when I define a variable in a
child
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
2011 Oct 17
2
puppet dashboard and complex data
So I am messing around with puppet dashboard and for the most part for
what I am working on it fits the bill for an ENC. The only question I
have is I need to pass information about a customer to set up
resources and the system can have multiple customers on it. What is
the best way to handle complex data? Would I be able to pass json data
for example?
--
You received this message because you
2007 Aug 16
0
No subject
sses, that way autoloading works ok and the classes are found, but that see=
ms a bit awkward.
<br></div><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br=
>Note that it's a bit redundant to name your classes that way -- you<br=
>
can just as
2007 May 21
3
defining client/server configs
Still very new to puppet, so go easy :-) Bit of a braindump I''m
afraid, but I''d really appreciate any "Yep", "interesting", "No!!!"
comments.
I''ll start with an example - adding NTP support. This primarily
consists of two configs:
a) NTP clients
- this is quite easy, it''s a templated file requiring the names of
the NTP
2007 Sep 17
2
ntp policy example question
I would like to configure a linux ntp server on my lan as the ntp server for
my windows xp clients
I'm not able to come to an understandable solution (due probably to my lack
in windows knowledge)
I found this in samba archives:
CLASS MACHINE
CATEGORY !!Time
POLICY !!NTPServer
KEYNAME SYSTEM\CurrentControlSet\Services\W32Time\Parameters
PART !!NTP_SERVER EDITTEXT
VALUENAME
2007 Aug 24
7
Problem restarting client service ssh in client
Hello,
I want a simple operation in a puppet node like restarting the ssh
service if it was stopped. My site.pp is simple as this:
import "services/*"
node default {
include ssh
}
The services directory as a ssh.pp :
class ssh {
service { ssh:
ensure => running,
subscribe => File["/etc/ssh/sshd_config"]
}
}
I''ve stopped the ssh service in the
2004 Oct 13
2
time server directive and synchronizing Win XP clients
Hi all!
I have configured a Samba PDC (3.0.7) on a Fedora Core 2 machine with LDAP
authentication (conform http://samba.idealx.org/smbldap-howto.en.html). I
have about 180 Windows XP Pro clients using this PDC to log onto the
domain, which works great!
However I seem to have trouble synchronizing the time on the clients to
the time on the server. The users (in group Domain Users) do not have
2007 Jul 03
2
Why can''t puppet find this package?
...all is well but for one
issue that I just don''t understand.
I''ve set up a class for ntp configuration. This includes a subscribe line
which for some reason won''t work when I try to subscribe to the package ntp!
Here''s the class entry:
class ntp_service {
$ntp_servers = $subnet ? {
''82.112.122.128'' => [''82.112.122.129''] ,
''172.16.6.0'' => [''62.73.186.194'']
}
file { "ntp.conf":
path => "/etc/ntp.conf",
content => template("n...
2004 Jan 19
3
configuration to Grandstream via tftp
Hi,
Anyone know how to set up tftp server for grandstream.
I gues it should be somethink like
<tftpserver-dir>
<mac-address>
firmware.bin
config.txt
Is this correct ?
And how should the config-file look like. ?
I had search sipphone.com but did'nt find anything.
/HHA
_________________________________________________________________
Rethink your
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...NAME", self.net_hostname.value())
os.system("hostname " + self.net_hostname.value())
- ovirt_store_config("/etc/sysconfig/network")
+ ovirt_store_config("/etc/sysconfig/network")
dns_servers = ""
ntp_servers = ""
if not self.dns_host1.value() == "":
diff --git a/scripts/ovirtfunctions.py b/scripts/ovirtfunctions.py
index ae454e5..2d6fac4 100644
--- a/scripts/ovirtfunctions.py
+++ b/scripts/ovirtfunctions.py
@@ -781,11 +781,15 @@ def is_valid_ipv6(ip_address):
ret...
2009 May 29
0
[PATCH server] last patch to implement remote freeipa
This completes the last few requirements for remote ipa, one thing to note is that when using remote ipa we do not allow the choice of creating a local dns server on the ovirt node.
---
installer/bin/ovirt-installer | 22 ++++++++++++++++---
.../modules/ovirt/files/ovirt-remote-ipa.conf | 1 +
installer/modules/ovirt/manifests/freeipa.pp | 10 +++++++++
2004 Feb 10
22
Re: [Shorewall-newbies] specific log-prefix ... patch
Let''s move this to the Shorewall Development list....
On Tuesday 10 February 2004 03:14 pm, xavier wrote:
> here is a patch to allow this :
> |ACCEPT<10/sec:20>:debug fw lan:$ntp_servers udp 123 - - - - ntp
>
> a problem with the patch is that now the logprefix is mandatory.
> i''m trying to debug it, but i can''t find the flaw.
Also, with two 5-character zones, you probably can''t specify a logprefix using
the standard LOGFORMAT string -- t...
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following:
resources { service: purge => true, noop => true }
service {
sshd: ensure => running;
iptables ensure => running;
}
And got the following message:
notice: Starting configuration run
err: Found a bug: uninitialized constant Parse
notice: Finished configuration run in 0.47 seconds
When I remove the ''resources'' line, everything works
2006 Mar 24
8
Snom 360 problems
Anyone have a Snom they're happy with? How did you manage that? :)
I have a system of:
Asterisk 1.2.3
2 Wildcard TDM400P Rev I and E/F
1 Snom 360 + sidecar
~15 Sipura/Linsys SPA-841
~15 Grandstream 101
Everything (currently) is on the same network, not a router to be seen
between any two. Also everything, except the snom, is working sweetly.
The main problem is ECHO.. awful echo and
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...kb.stdout.read()
+ os.system("dd if=/dev/zero of=\"%s\" bs=1024 seek=$((%s - 1)) count=1") % (drive,disk_kb_count)
+
+def test_ntp_configuration():
+ # stop ntpd service for testing
+ os.system("service ntpd stop > /dev/null 2>&1")
+ for server in ntp_servers:
+ ret = os.system("ntpdate %s > /dev/null 2>&1") % server
+ if ret > 0:
+ print "\n Unable to verify NTP server: %s \n" % server
+ else:
+ log("\n Verified NTP server: %s \n") % server
+ os.system("servic...