Displaying 20 results from an estimated 1000 matches similar to: "Variable scope: Class inheritance vs Include statement."
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
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 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
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
2005 Apr 07
1
Bug#303661: logcheck-database: openntpd rules
Package: logcheck-database
Version: 1.2.37
Severity: normal
Hello again,
openntpd gives messages like these failry often:
Apr 7 14:25:55 terminus ntpd[673]: peer 204.17.42.202 now invalid
Apr 7 14:26:10 terminus ntpd[673]: peer 204.17.42.202 now valid
I am not sure if this is something that an admin may find relevant but they happen fairly often and they do not offer a lot of info
for me.
2009 Jul 07
2
Xen : Time issues
Hi everyone,
I''m working in a firm that monitor wan networks.
We have several nagios installed on virtual machines.
Recently we noticed that the DomU''s clocks are not synced with the Dom0 and the
clocks are wrong.
So we tried to sync DomU''s via openntpd but it generates errors in nagios. Logs
indicate "Time goes back".
So we want to sync DomU with Dom0 and
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
2005 Apr 29
3
Bug#303661: logcheck: More openntpd improvements
Package: logcheck
Version: 1.2.39
Followup-For: Bug #303661
Attached is another entry that suppresses the adjustment messages
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7-grsec
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages logcheck depends on:
ii
2006 Feb 26
17
domU clock over 23s off
Hey,
I have rather new installation of xen, dom0 is running ntpd and is
perfectly in time. All domU''s are ~23s in future. Running ntpd on
the domU''s seem to have no effect, /proc/sys/xen/independent_wallclock
appears to have no effect. I''m running xen-unstable and 2.6.16-rc4
in AMD64 box.
Any tip would be appricated.
Thanks,
--
++ytti
2006 Apr 07
3
ntp server
I thought I'd play with making my system an ntp server.
I did the "service ntpd start" it started OK.
on my laptop I did "ntpdate IP" and it says no server for sync found.
My firewall has open ntp:udp
What did I miss?
Thanks,
Jerry
2018 Jun 03
2
chrony configuration for secondary samba DC
Am 03.06.2018 um 16:48 schrieb Rowland Penny via samba:
> On Sun, 3 Jun 2018 17:37:45 +0300
> Alexei Rozenvaser <alexei.roz at gmail.com> wrote:
>
>> The output is:
>> alexei at ubuntu-dc:~$ sudo samba -b | grep 'SIGND'
>> NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd
>
> First three letters are NTP and at the moment, Samba only supports the
2007 Mar 07
8
Writing definitions to support changing defaults
What is the right way to write definition so that defaults can be overriden?
$puppetdir = "puppet://$server/files"
define remotefile($source, $owner = "root", $group = "root", $mode =
0644, $backup = false, $recurse = false) {
file { $name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
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
2012 Sep 26
0
Processed: this affects more than OpenNTPd, probably all of Xen 4.0 on Debian
Processing commands for control at bugs.debian.org:
> reassign 674907 xen
Bug #674907 [openntpd] shifts the clock by 50 minutes unexplicably under a Xen dom0
Bug reassigned from package 'openntpd' to 'xen'.
No longer marked as found in versions 3.9p1+debian-8~bpo60+1.
Ignoring request to alter fixed versions of bug #674907 to the same values previously set
> found 674907
2017 Feb 08
0
selinux contexts for openntpd portable
I was wondering if someone could help with selinux context for the portable
openntpd library on centos7.
I compiled openntpd-6.0p1 and it runs great on centos7, but have not had
much luck with selinux contexts for it.
This is what I tried-
semanage fcontext -a -t ntp_conf_t /usr/local/etc/ntpd.conf # seems to work
semanage fcontext -a -t ntpd_exec_t /usr/local/sbin/ntpd # gets reset on
2005 Apr 25
6
Dreamweaver MX 2004
Hi,
Has anyone had any luck installing or getting it to run from a windows install?
Basically I'm stuck at exactly the same point (I get the exact same messages
and all) as http://www.winehq.org/hypermail/wine-users/2005/02/0018.html and
the people who posted comments in the AppDB
http://appdb.winehq.org/appview.php?versionId=1810.
I'm using Wine 20050419
Brian
2007 Jan 25
4
Conditional exec
I am trying to write a definition that downloads and extracts a tar
file if the destination directory does not exist. The tar file won''t
change and does not need to be download and extracted if it changes.
The definition I am using now is:
define remote_tar($source, $directory) {
remotefile { "/tmp/$name.tgz":
source => $source,
}
exec {
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
2010 Mar 11
6
Installing from source (git, hg) on a fresh debian box
Oye 3 days on this now, my head hurts. I have spent what seems like 40
hours in the last 3 or 4 days reading, and I realize xen is in the
middle of this transition of getting into mainline kernel, issues with
dom0 etc etc.
Ok, so i have come across a few howtos/tutorials on installing xen
dom0 kernel, using git to download a patched? kernel tree, and getting
xen source from mercurial. Below is my
2007 Mar 19
5
Dovecot 'suicide'
I have a Dovecot installation on a Fedora 4.
With the last update from Dovecot RC10 to Dovecot RC27, the daemon
kills itself every night with this error:
Mar 17 05:23:11 mail dovecot: Time just moved backwards by 6 seconds.
This might cause a lot of problems, so I'll just kill m
yself now.
The error appears just after the night maintenance script executes a
ntpdate syncronization
ntpdate