Displaying 20 results from an estimated 10000 matches similar to: "syslog spam"
2007 Aug 01
12
Puppet uses too much RAM memory
Hello,
I have two Vmware images, with 256MB of RAM memory each one, running
puppetmasterd for the server and puppetd for the client. It''s normal
that my puppetmasterd and puppetd occupies almost 10% of RAM memory
each one? They aren''t doing anything especial, just listening on the
ports.
Thanks.
2007 Aug 07
5
parsing manifests in a pre-commit hook
Hello,
I was wondering if there is a way to parse individual manifest files as
part of a pre-commit hook in subversion. I am looking for something like
puppetmasterd --parseonly, but that will work on individual files. This
way I can reject a commit if it does not pass.
Any ideas?
TIA
2007 Oct 26
3
freebsd service management redux
After reading the rc.subr(8) man page and Newburns''s article on the rc.d subsystem[1],
It''s clear that a rc.conf.d per service file structure is already natively supported on
FreeBSD.
I''ve verified this with my own testing:
# echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd
# /usr/local/etc/rc.d/puppetmasterd start
Performing sanity check
2007 Sep 04
9
exec creates and subscribe
I have the following test case:
file { sendmail-conf:
path => "/etc/mail/${fqdn}.mc",
owner => "root",
group => "wheel",
mode => 0644,
links => follow,
source => "puppet:///sendmail/${hostname}.mc"
}
$mail_dir = "/etc/mail"
$cf_dir = "/usr/share/sendmail/cf/"
exec { build-conf:
command => "/usr/bin/m4
2007 Oct 01
5
freebsd ports provider patch to use ports tree directly
The included patch is what I''ve been able to throw together in a few
hours after studying the pkgtools code. All I''m using the library for at
the moment is to resolve the proper base location of the ports tree, but
at least by invoking make directly instead of through portupgrade it
works *a lot* better.
Is there a proper way to include/require a third party ruby library?
2007 Oct 03
4
puppet exit codes and svn pre-commit hook
Hi everyone,
I''m using a svn pre-commit hook to check manifests for syntax errors.
I''ve recently upgraded puppet from 0.22.4 to 0.23.2 and the hook stopped
working. I use the following command to parse .pp files:
/usr/local/bin/puppet --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport /tmp/$$.pp
Now, I make a decision based on the exit code. If 0 then commit, else
exit
2007 Apr 23
8
exec resources
I am consistently getting the following error from puppetd when an exec resource is
triggered by a refresh event:
Apr 23 10:36:11 mailhub puppetd[37884]: Reopening log files
Apr 23 10:36:11 mailhub puppetd[37884]: Starting Puppet client version 0.22.3
Apr 23 10:36:11 mailhub puppetd[37884]: Starting configuration run
Apr 23 10:36:12 mailhub puppetd[37884]:
2007 Aug 27
3
Puppet Nodes in DNS
Has anyone given any thought to using DNS for node information rather than LDAP? You see,
I already have all my nodes defined... in BIND ;-).
Perhaps something like:
foo IN A 10.178.10.1
IN TXT "puppetclass=<class_name>"
IN TXT "puppetclass=<class_name>"
.
.
.
Ad nauseam
--
Russell A. Jackson <raj at csub.edu>
Network Analyst
California State
2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event
received or only run once per run irregardless of the number of resources that notified
it? It seems to me that it gets run twice no matter how many resources triggered it.
consider the following class:
class dhcp {
$prefix = "/usr/local/etc/dhcpd"
$dhcpd_conf = "$prefix/dhcpd.conf"
2007 Aug 12
4
freebsd ports provider
I''d like to clarify some points about the ports/package system in FreeBSD. I apoligize
ahead of time if this is
Both packages and ports use the pkgdb system. This isn''t some lame cludge; it''s by design,
and the reason is really quite simple. Packages are built from the ports collection. The
only real difference between them is the mode of delivery.
When you run
2007 Oct 31
15
puppetd can set more than one server address
hi,all
I want set up a puppet HA structure. but if the puppetd can
set more than one server address ,the work will be simple :D
if one puppetmaster have error, the client can auto try the
next. I think I can use the heartbeat or dns to do this same
thing,but not so good. so I want know the puppetd can direct set in
the configure file ? if not,will be add this option?
--
Huang
2007 Oct 29
2
puppetd and self management
OS: FreeBSD 6.2-RELEASE
Puppet: 0.22.4
OS: CentOS 5.0
Puppet: 0.23.2
Is it currently not possible for puppetd to upgrade itself (0.22.4 -> 0.23.2)? I tried it,
and when puppetd attempted to restart itself (using the init provider), it failed to start
back up. Perhaps the init provider needs to close all file handles before executing the
rc.d scripts?
Additionally, I had puppetd update its
2007 Apr 25
12
Facter repository
Is there a repository of Facter plugins that people have made? I''m working
on a few that i wouldn''t mind sharing when complete.
2007 Oct 17
5
option to trigger the change immidietiely
Folks,
I have installed puppet my network and it works great .. I have configured
it such a way that when I make changes in the server source fiels..it gets
updated in teh puppet clients.
As the document reads the puppet clients checks for any changes from the
server every 30 mins. But is there is any opiton of changing this value to
lesser time .. say 15 mins ..
or is there opiton for the
2007 Nov 29
10
Provider error with FreeBSD 7 beta 3
Hi all,
I’m exploring puppet for first time, trying to see if I can simplify
my sysadmin tasks. So I decided to install it on FreeBSD 7 beta 3 and
play with it, using another host as a server (Debian 4).
As you can imagine I’m stuck. Here’s an excerpt of my super trivial
manifest file:
> node ''puppetclient.refactor.it'' {
> package {
> apache20:
> ensure
2007 Oct 02
6
Push /home/* directories recursively to clients
Hi I am trying to push populate /home & subdirectories from the puppet
server to all the Linux clients.
I managed this with cfengine using rsync. But I am not sure how do I
achieve this in puppet, do we have any inbuilt function for this.
Also, is there a function for userdel like for useradd (user)
groupadd(group).
Any suggestion is appreciated.
--
Deepak
2007 Dec 11
12
puppet seems to be restarting itself very often
I turned on reporting the other day and I''m seeing alot of these when puppet
runs. Especially during times when nothing is going on (middle of the night
etc)
Tue Dec 11 12:34:48 -0500 2007
//base/puppet/puppet::client/Service[puppet]/ensure (notice): ensure changed
''stopped'' to ''running''
It''s also quite odd that puppet when it runs it thinks
2007 Oct 30
1
puppet.conf sections
I''m a little confused by the configuration reference. Is the following configuration
supposed to work in 0.23.2?
# $Id$
2
3 [main]
4 confdir = <%= confdir %>
5 vardir = <%= vardir %>
6
7 rundir = /var/run
8 logdir = /var/log
9
10 ssldir = $vardir/ssl
11
12 [puppetmasterd]
13 manifestdir = $vardir/manifests
14
2007 Aug 22
6
Re: [puppet] #779: access to inherited variables from within a template
puppet schrieb:
> #779: access to inherited variables from within a template
> -----------------------------------------+----------------------------------
> Reporter: simu | Owner: luke
> Type: enhancement | Status: new
> Priority: normal | Milestone:
>
2007 Oct 27
3
download, run and delete file
Hello
I try the following:
1. Check if a file is present
2. if not, download some files to an directory in /tmp and run one
3. remove the files and the directoy from /tmp
1 and 2 are easy, here is my definition:
class netcool
{
exec { "/bin/bash /tmp/netcool/silentinstall.sh":
cwd => "/tmp/netcool",
path =>