search for: ntp_server

Displaying 17 results from an estimated 17 matches for "ntp_server".

Did you mean: sntp_server
2006 Nov 03
1
Reusable definitions
...odes, 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, and would like to hear comments on them: 1. Use a component to describe an ntp_client. Kind of: define ntp_client( $ntp_server ) { package { ntp ... } file { "/etc/ntp.conf" : content => template( "ntp.conf" ) ... <= Template using <%= ntp_server %> } service { ntpd ... } } node node1 { ntp_client { ntp_server => "server" } } } 2. Use kind of a "paramet...
2007 Aug 24
4
Variable scope: Class inheritance vs Include statement.
...arent'' class. class ntp { file { "/etc/openntpd/ntpd.conf": owner => "root", group => "root", mode => 644, content => template("/etc/puppet/templates/apps/openntpd/ntpd.conf.erb") } } # This works. class ntp_server { $ntp_class = "ntp_server" include ntp } # Why does this NOT work? # class ntp_server inherits ntp { # $ntp_class = "ntp_server" # } class ntp_client { # Could also possibly read: $ntp_class = $name $ntp_class = "ntp_client" include ntp } /etc/puppet/te...
2007 Nov 18
9
Modules, namespaces and variables
...d 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_server variable ... } class ntp::ntp_client inherits ntp { ... some stuff ... } Somewhere in manifests/site.pp and its included files: node ''someNode'' { i...
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
...gb(204, 204, 204); margin: 0pt 0pt = 0pt 0.8ex; padding-left: 1ex;"> <br><div class=3D"Ih2E3d"><br>&gt; 2. If I include ntp everything works as = expected, and the<br>&gt; ntp_localtime is used correctly. However if I inc= lude<br>&gt; ntp:ntp_server the template doesn&#39;t seem to be able to fin= d the <br>&gt; ntp_server variable (Failed to parse template ntp/etc/<br>&gt; ntp= .conf.server: Could not find value for &#39;ntp_server&#39; at /etc/<br>&gt= ; puppet/modules/ntp/manifests/init.pp:66). This...
2007 May 21
3
defining client/server configs
...ode include ntpserver ... } I''d probably prefer to just get the ntp class determine which file to use. Ideally I''d like to be able to just say "these boxes are the ntp servers" and then watch all the boxes get the correct config files :-) Some psuedocode like: if ($ntp_server in thisbox.aliases) { use ntp_server template else use ntp_client template fi This then leads onto where to store "details" for want of a better term. I see there has been some discussion about this: (http://mail.madstop.com/pipermail/puppet-users/2007-May/002649.html) Some of the...
2007 Sep 17
2
ntp policy example question
...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 "NtpServer" END PART PART !!SERVERTYPE EDITTEXT VALUENAME "type" END PART END POLICY END CATEGORY ; Time [Strings] Time="Time Servers" NTPServer="NTP Server" NTP_SERVER="NTP Server address" SERVERTYPE="Serv...
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("...
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): re...
2009 May 29
0
[PATCH server] last patch to implement remote freeipa
...b index dda7976..03cfc2b 100644 --- a/installer/modules/ovirt/templates/ovirt-dhcp.conf.erb +++ b/installer/modules/ovirt/templates/ovirt-dhcp.conf.erb @@ -6,5 +6,4 @@ domain=<%= dhcp_domain %> dhcp-option=option:router,<%= admin_network_gateway %> dhcp-option=option:ntp-server,<%= ntp_server %> dhcp-option=12 -local=/<%= dhcp_domain %>/ -server=<%= admin_dns_server %> +dhcp-option=6,<%= admin_dns_server %> -- 1.6.0.6
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 --...
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("servi...