Displaying 20 results from an estimated 10000 matches similar to: "puppetd daemon vs. cron"
2009 Nov 04
22
Any ideas about this error with upgrading to 0.25.1?
Hi I''m getting this error with a 0.25.1 puppetmaster and 0.25.1 node.
Nov 4 14:43:35 devcentos5 puppetd[26099]: (//network-config::base/File
[hosts]) Failed to retrieve current state of resource: Error 400 on
SERVER: Not authorized to call find on /file_metadata/network-config/
hosts/hosts.devcentos5 Could not retrieve file metadata for
puppet:///network-config/hosts/hosts.devcentos5:
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi,
I''m still writing my djbdns module, I came to the following design issue
with master and slave tinydns.
Normally there is no such master and slave distinction in djbdns: all
tinydns instance are equal. Usually one instance on one host is
considered the master on, which the RR are changed, and when you need to
propagate them, you rsync the datas to the other hosts, where they will
be
2010 Mar 12
23
Puppet 100% CPU usage
Hi,
I''ve been experimenting with Puppet for a few days now, and I really
like it.
But! I''m having real CPU usage problems.
Puppet is still happily eating away 100% CPU for almost an hour at a
time, with no apparent things happening.
(puppetd -tv --trace --debug, but nothing appearing in the console
during this.)
I believe the following resource is to blame:
file {
2007 Nov 13
7
Exported resources & exec ?
Hi,
I''m sorry if that''s a FAQ, I also know exported resources are a still
experimental. So my problem might well be a design limitation of how
exported resources are working.
My issue: I''m trying to export a file resource that is created by an
exec block. The file is exported fine and collected fine but it is
always empty on the other host.
The puppet snippet:
class
2008 Apr 12
8
Question: Do all puppetd run at the same time?
(I know more questions... :-))
I know the default for puppetd is to check puppetmasterd every half
hour, but my question does each puppetd check at the same time? Or
does it depend when puppetd is started or like a cronjob does it run
at the 1/2 hour and hour mark? Is there some randomness to the times
they run?
My point is if they all run at the same time then if you have a large
amount of
2007 Nov 23
7
Modules design patterns ?
Hi,
I''m writing puppet modules since a couple of weeks now, so I''m still
considering myself as a new comer in this field.
It seems that modules I can find on the web or the recipe page on the
wiki almost all use a design pattern where the module is shipped in one
or several class(es) whose configuration are determined by "global" or
nodes variables ala:
module:
class
2010 Apr 27
7
Puppetmaster with stored configs leaks file descriptors on CentOS 5
Hi folks,
When I enabled stored configs on my puppet master, it began keeping lots
of open connections to the MySQL server (as far as I understand it
opened one connection for each client run and never closed them).
I set up the server to close idle connections after 5 minutes. Now the
database server does close the connections but the puppet master keeps
them in CLOSE_WAIT state and eventually
2007 Nov 21
6
mod_proxy_balancer under heavy load.
So I''m still working on a ''perfect'' setup so I can document it on the wiki,
and will submit some puppet patches against 0.23.2 next week, but here''s
what I''ve done that has made a big difference to stability here.
in puppetmasterd at line 261, I''ve modified the Mongrel instantiation from:
server = Mongrel::HttpServer.new(addr,
2011 May 20
7
PC EU feedback: exported resource syntax is too magical, hard to read
http://projects.puppetlabs.com/issues/7612
The exported resources syntax:
@@user { luke: ensure => present }
Is concise and powerful, but very difficult to read. We should
consider word-based syntax, e.g.:
export @user { luke: ensure => present }
And taking into account #7605, perhaps:
export virtual user { luke: ensure => present }
Please comment on the ticket or reply
2010 Jun 24
3
puppet random errors
Hi,
I thing this issue has been mentioned several times in this list but I
can''t see any conclusion.
In about 10% of all runs Puppet randomly fails on some (random) File
resource either with this error:
Thu Jun 24 02:40:03 +0000 2010 //<random module>/File[<random file>]
(err): Failed to generate additional resources using ''eval_generate'':
or this error:
2011 Dec 19
4
Learn from MY Mistake: "false" != false
Sharing my stoopid mistake in the hopes of saving someone else the same grief:
I had a boolean toggle that was not performing as expected.
Long story short: I had put quotes around the word "false"
class { ''foo'' : boolFlag => "false" } was coming up TRUE
To fix it, lose the quotes
class { ''foo'' : boolFlag => false }
“Sometimes I
2007 Nov 10
2
Array of files and other questions...
Hi
I''m quite new to the art of writing puppet manifest, but the more I see,
the more I like it :-)
I''m trying to write a djbdns dnscache module.
dnscache configuration is spread in several files, for instance the ip
addresses allowed to query the cache each have a file in dnscache/root/ip/
whose filename is the address.
I''m trying to automate the creations of those
2011 Dec 16
12
Seperate CA's/Master behind load balancer
Hello,
Attempting to setup a CA primary/standby as well as seperate
puppetmaster servers (all running Apache/Passenger) behind another
Apache/Passenger type load balancer.
Clients are not getting certs:-
err: Could not request certificate: Could not intern from s: nested
asn1 error
Clearly an SSL issue but not something I know a great deal about.
loadbalancer.conf
# Puppet Load Balancing
2009 Aug 13
6
Mongrel Memory Usage
All,
I''m trying to figure out the best way to estimate the amount of memory
usage that will be taken up by Mongrel and I''m hoping that you have
some estimates that can help me.
I''m currently estimating the following:
Memory Required = Number of running puppetmasters * size of manifests
* number of clients managed
The mongrel model doesn''t seem to *ever*
2008 Nov 19
1
Builtin Nagios types
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I''me using nagios builtin types and I''m very surprised that the
parameter *name* is not available for type nagios_host ?!?
This parameter is required to use inheritance
(http://nagios.sourceforge.net/docs/3_0/objectinheritance.html) and I
don''t understand why it is not included in all nagios types ?
Maybe someone has
2007 Dec 16
2
mongrel and reverse proxy security
Hi,
It seems that webrick cannot handle too much client and that luke is
making mongrel the ''default'' server to use so i wanted to switch to
mongrel. Then i read that i cannot use directly mongrel like webrick
because it does not speak SSL.
So my issue is : how to be sure things stay secure in the way that the
proxy should be the one speaking ssl and making client ssl
2008 Mar 22
6
pass Resources to a define or unsetting notify
Hi
i''m trying to pass Resources (single or in an array) to a resource, so I
can pass this to a notify or require. However I have some problems, when
no resource should be passed. Maybe somebody can help me? thanks
define gentoo::etcconfd (
$require = '''',
$notify = ''''
){
file { "/etc/conf.d/${name}":
owner =>
2012 Apr 09
14
Taking github noise away from puppet-dev list
Since our move to github for pull requests and patches, the usefulness
of puppet-dev has declined significantly. puppet-dev used to be a
great list for development discussion of puppet and the ecosystem
around it. With the information and pull request emails from github,
unless everybody has finely-tuned their email clients, the puppet-dev
list has turned into mostly noise.
We have a goal to
2009 Mar 05
2
Visualizing puppet circular dependencies
I recently got a scary-looking circular dependency as a puppet error,
and it took some thought to decipher it.
Long story short, I fed it to graphviz, and the graph made it obvious
where the problem was. Thought I''d share, in case others are having
the same trouble. Code''s at http://gist.github.com/74566, and also
pasted below for convenience.
-- Philip
# Make sense of
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''facility::sanjose'' of type
hostclass in