Displaying 20 results from an estimated 10000 matches similar to: "Graceful recovery on bad config"
2007 Feb 14
2
Printing resource before they''re checked
Hi all,
I''m having trouble with a particular recipe, but I don''t know which one! I''m
not getting an error message, puppetd simply hangs (does not respond, needs
a kill -9 to stop). These same recipes work correctly on other nodes (no
problems there). Now I wanted to find the exact line that causes the
problem, but I seem to be unable to make puppetd log the resource
2007 Feb 01
7
lockdir parameter
it seems that puppet refuse to run in the new version. It fails on the line:
err: Could not apply complete configuration: Unknown configuration parameter :lockdir
the client is .22.1 and server still .22.0
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
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
4
append to static array (was: Re: Why External Node Classification is my future)
On 10/29/07, Luke Kanies <luke@madstop.com> wrote:
> On Oct 29, 2007, at 2:35 PM, Brian Finney wrote:
> > Although iteration would be really cool if we could also append to an
> > array in a global fashion, but thats a completely different dream.
>
> What do you mean?
Thinking some thing like:
# define for simple firewall control
define port($port, $status){
push
2006 Aug 28
10
Templates and arrays
I''m in the process of documenting templates right now, and I figured
I should see what happens when you use them with arrays:
$ cat ~/bin/test.pp
$values = [this, is, an, array, of, values]
$content = template("/tmp/templates/testing.erb")
file { "/tmp/temtest": content => $content }
$ cat /tmp/templates/testing.erb
<% values.each do |val| %>
I got
2007 Mar 13
11
N00B questions: How to dynamically set hostname in a config file . . .
Greetings -
I''ve just started testing Puppet and have a couple of questions:
1. Is there a way to dynamically change a configuraion file that is
sent to nodes?
For example, I want to modify /etc/hosts to have the hostname and ip
address set dynamically - the hosts file shoule look like:
12.34.56.78 node1.example.com
22.35.66.99 server1.example.com
But I don''t want to
2006 Nov 16
7
Negating or removing classes
I have a situation where I''d like to perform some actions when a node is
removed from a class. I have a few (homegrown) services that install ssh
keys in authorized_keys and it''s possible that a node may have the
service enabled and disabled during it''s lifetime. When disabled I''d
like to clean up the ssh keys for security reasons.
This brings up the broader
2007 Dec 10
4
Results from testing our manifests, functions and types against HEAD
Hi Luke and other people working on 0.24. I hope this is constructive.
So, I have our configuration working against a checkout from git as of
last night.
Subject to (sorry, here''s the big but :)
* external_nodes script is not being called (#951)
* Custom types aren''t working unless I drop them into
$rubysitedir/puppet/{type,provider}. Previously they worked in
2007 Sep 11
25
Re: #786: exported resources not refreshed
Hello all,
what exactly is the "design decision" that is needed here?
We currently have the problem that 0.23.2-3 (debian package) does not
work when it comes to collecting exported resources. The resources are
saved in the database, so picking them up is the problem (db is Mysql5.x).
This is a major problem for us, since we are using this a lot for our
monitoring services. I
2007 Mar 22
6
Starting out with lots of problems.
So I am beginning the long process of learning puppet... and it seems
that I am missing some vital things.
My systems are RHEL-4, and i have installed the
puppet/facter/puppetmasterd from dlutter@redhat.com''s archive.
[root@canopus puppet]# rpm -qa | egrep ''puppet|facter'' | sort
facter-1.3.6-1.el4
puppet-0.22.2-1.el4
puppet-server-0.22.2-1.el4
on the client I
2007 Dec 03
3
certificate issue with Branch Testing
Hello All,
I''m using the "Branch Testing" approach documented at
https://reductivelabs.com/trac/puppet/wiki/BranchTesting and am seeing
an issue with certificates.
On all clients, I can run puppetd --masterport=8141 successfully but see
the following error when I run against the default (8140) port:
err: Could not retrieve configuration: Certificates were not trusted:
2006 Sep 23
4
"server" config option (and cmd-line option) don''t do anything for puppetd?
Hi guys,
Unlike what it says in the documentation and the --help output, I
can''t seem to get puppetd to use the --server setting. The only way I
can get puppetd to work is to include a ''puppet'' alias to the ip of
the machine I''m running puppetmasterd on in my hosts file.
The strange thing though, is that the logs of my puppetmaster show
that it *is* getting
2007 Feb 06
31
Removing circular dependant RPM files with Package.
Hello,
I just attempted to remove both the ypbind and the yp-tools packages using the package parameter with yum. As it turns out, both of these packages depend on each other.
Is there a way of forcing package removal and, if there is not, is there a way of making all packages to be removed be collapsed into the same yum command? Either of these solutions would solve the problem with the
2006 Dec 14
11
Puppet and Cfengine Differences
Hello,
I''ve recently begun looking at Puppet as an alternative to Cfengine and I
have a couple of questions.
1) Besides the information posted on the Puppet website, are there any
critical differences between Puppet and Cfengine?
2) Does Puppet allow for client-specific file text manipulation. For
instance, in Cfengine I can add a line of text to a file if the line doesn''t
2007 Oct 11
3
puppetmaster can''t found the node''s hostname ?
hi,all.
I found a interesting problem. first ,a new node run the puppetd
to connect the puppet server, then was treated as "default" node.
that''s right.
Then I add the new node''s hostname in a node define. and run the
puppetd ,is still get the default manifests file. But when I restart
the pupppuetmaster, then it can get the new manifests file to
correspond
2007 Jan 23
6
Puppet File checksums directories
I''m not sure if this is the way things are supposed to happen but, when I
specify a directory with recursion and md5 checksums, the directory itself
is checksummed and assumed to have changed.
Of course, if anything in the directory changed, the directory checksum will
change.
What I would like to do is to manipulate all of the files in a directory,
but ignore the directory itself.
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following:
Given the directory structure:
/foo/bar
/foo/bar/<bunch of stuff>
Is it possible to set /foo/bar to, say 555, and all stuff below to 440
or the directory equivalent?
Thanks,
Trevor
2007 Jan 18
4
File type attribute "type"
I''m having a bit of trouble understanding what to do with the ''type''
attribute of ''file''.
I would like to perform different operations on directories vs. files under
the same structure, can ''type'' be used for this?
Are there any other examples of doing this kind of thing?
Thanks,
Trevor
2007 Jun 07
17
Puppet/webrick benchmark
We haven''t been able to use mongrel for testing yet, but in order not to
waste time, we did some performance testing with 1, 2 and 4
puppetmasterd/webrick processes.
Attached is an HTML page (ripped from our wiki - not pretty, but
reasonably readable) which describes the method and results.
If someone feels like making some nice graphs, that would be great. If
not, I''ll try to
2007 Jan 24
3
Another ''found a bug'' problem - This time with user purging.
Ok, given the statement on the web page about unlesssystemuser under
Resources (
http://reductivelabs.com/projects/puppet/documentation/typedocs.html#resources),
I assume that users can be purged.
However, when I attempt to do this with resources { user: purge => true,
noop => true } and what I get is:
err: Found a bug: private method ''split'' called for nil:NilClass.