Displaying 20 results from an estimated 8000 matches similar to: "validate_re validation failures"
2012 Apr 25
5
exec's onlyif parameter fails for a bash one-liner
I would like to ''exec'' an installation script ''onlyif'' an installation
directory is empty. I tried using following bash one-liner however it
didn''t work:
<code>
exec{$one_install_script:
require => File[$one_install_script],
onlyif => "[ \"$(/bin/ls -A $one_location)\" ] && exit 1 || exit
0"
}
2011 Jan 13
5
Problem restarting the agent
Just installed Puppet 2.6.4 on Ubuntu 10.10
I was trying to restart the puppet agent but got the following error
and the agent didn''t run:
$ sudo puppetd --server server.domain.com --waitforcert 60 --test
err: Could not retrieve catalog from remote server: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed
warning: Not using cache on failed
2011 Jan 18
3
Failed SSL with CNAME'd puppetserver
Hi, suppose puppet-old.domain is a CNAME pointing to puppet-new.domain,
and puppet-new.domain is running Apache (for SSL) with mod_proxy_balancer
to balance over some 10 puppetmaster processes. The configured
SSLCertificateFile in Apache is that of puppet-new.domain
How do I get a node to stop complaining when connecting to
puppet-old.domain (ending up at puppet-new.domain through the CNAME)?
2007 Nov 28
13
What to call a class: Manifest? Configuration? ResourceContainer?
Hi all,
I''ve got a new class in the current code, which I''ve been calling
Configuration but Matt reasonably thinks is horrible.
He is recommending the name Manifest, and I figured I''d see what
others thought.
The point of the class is to function as a resource container -- it
keeps a reference to all of the resources we''re managing, and knows
how to
2007 Apr 27
5
puppetd -v -o hangs
I''m having this issue where "puppetd -v -o" hangs (won''t return my
prompt) when starting a daemon I wrote. If puppetd is running as a
daemon a zombie process is created each time puppetd tries to start my
daemon. Puppet detects when the daemon is down and starts it just
fine. I''m using version 0.22.3 on RHEL 5.
Here''s the class. I''ve
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read and find a way (well, there seems to be several equal
implementations) to collect the ssh keys of machines. However they all
give only the choice to choose between the key formats.
But is there a way to collect both keys of a machine, the rsa _and_ the
dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2007 Mar 19
23
puppet hangs while trying to restart a daemon
Hello all,
puppet hangs while trying to restart a daemon when the associated config
file changes, here the log:
Mar 19 11:30:04 ingentTest puppetd[27390]: Starting Puppet client
version 0.22.0
puppetd[27390]: Starting configuration run
puppetd[27390]:
(/ingenttest/qualsevolnode/guaita[guaita]/File[/etc/guaita.conf]/content) synced
puppetd[27390]:
2011 Feb 15
11
Puppetmasterd not receiving certificate request
Hi: I''m trying to configure Puppet on Ubuntu, and strangely I am never
able to generate a certificate because my server never shows any
pending certificate requests.
Put differently, on the server I am running puppetmasterd and on the
client I am able to connect to the server, but the client continues
printing
notice: Did not receive certificate
warning: peer certificate
2010 Nov 13
12
certificate verify failed
I am banging my head against the wall for recently built hosts that
are unable to verify the server''s certs. The usual is not working.
on the puppet agent machine:
find /var/lib/puppet/ssl -type f -delete
on puppet master:
puppetca --clean <new_host_cert>
on agent:
puppetd --server puppet --waitforcert 2 --no-daemonize -d -o
on puppet master:
puppetca --sign
2007 Jun 25
3
Modules and the file server
Hi,
I''m starting to move over to Modules, which looks pretty clean and solid.
Reading http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation,
one thing that confuses me is how the client resolves the implicit file
server resources.
I''ve got a few different puppet master servers running on different
ports, and my configuration re-defines $puppet_master_host and
2007 May 18
5
package installations on schedule or manual run
I would like to have packages installed either in the early morning or
whenever I manually choose to do so on a particular machine. I am
trying to convert my existing configuration from cfengine so in that
tool I had something like:
packages:
Hr03|ManualRun::
<package installation commands>
This basically says to install packages if it''s either 3:00-3:59am or if
2012 Jul 20
2
rspec-puppet and create_resources
Using rspec-puppet should I be able to check for resources created as a
result of a create_resources call within a class?
Regards,
Mark
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bUD_CitDYCAJ.
To post to this group, send email to
2010 Aug 20
6
Debugging errors with external nodes
How do I debug errors with external nodes? When my client connects,
the following appears on the puppetmaster when running in debug mode.
It''s not feasible to always be running the pupeptmaster in debug mode.
debug: importing ''/etc/puppet/modules/yum/manifests/client.pp'' in
environment production
info: Automatically imported yum::client from yum/client into production
2010 Jul 05
5
File-based Distribution, Module Function Logic and Per Setting (Augeas); Which method do you think is best for the env i help to support and why?
I am having a difficult time understanding and determining which
module method is best for the env I help to support.
Overview of systems supported:
-There are 17+ clients.
-4+ envs (dev, stage, beta, prod ..) per client
-Several flavors and versions of OS ( Mostly fedora and centos )
-All are apache, some mongrel and most passenger
-code deployments are capistrano
-configurations are done with
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t
get parameterised classes to work. At least, I think it''s 2.6.0... the
version number in the RPM spec file says 0.25.5.
This simple example:
/etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp:
node ''name01.pax.xxx.com'' {
class { amodule::afunc: version => "1.0" }
}
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 Nov 13
16
Switching from webrick to mongrel
I got tired of restarting my puppetmaster when it stopped responding and
finally switched to mongrel last night.
When running under mongrel, what sort of concurrent connection rates are
people able to get? I dont know how many individual puppetmaster
processes I should spawn, or how to tell when I should span more.
Perhaps I need more than two, because this morning I had a look at how
2007 Dec 06
2
Branch testing setup
Hey all-
I am trying to set up branch testing as described at http://www.reductivelabs.com/trac/puppet/wiki/BranchTesting
, but am running into a few snags. I''ve set up an alternate directory
for the testing branch config files, and have created a copy of
everything stored under /var/lib/puppet and pointed the test server to
that stuff. However, when I try to connect to the test
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:
2009 Feb 10
7
Lock file /var/lib/puppet/state/puppetdlock
I''m just starting a roll out of Puppet and I''m seeing a problem on maybe
25% of client nodes. The symptoms are that the clients stop updating. In
the Puppetmaster log, I''m seeing things like:
Feb 9 20:10:23 vs4 puppetmasterd[17942]: Compiled catalog for xxxx in
0.05 seconds
Feb 9 20:40:41 vs4 puppetmasterd[17942]: Compiled catalog for xxxx in
0.05 seconds
Feb 9