Displaying 20 results from an estimated 2000 matches similar to: "Regenerating puppet master certificate"
2010 Oct 26
7
puppetdoc and wrong comparison
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
at the moment I fight with puppetdoc and end in a ruby confusion.
To the problem:
> puppetdoc --debug --trace --mode rdoc --all manifests/site.pp
info: scanning: ["manifests/site.pp"]
/usr/lib/ruby/1.8/puppet/util/rdoc.rb:82:in `output_resource_doc''
/usr/lib/ruby/1.8/puppet/util/rdoc.rb:82:in `sort''
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
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
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
2011 May 31
3
Hotplug scripts not working
Hi all,
I''d like to know if it''s possible to have more verbose output when running a block-prefix script. Other than xend.log.
To be more specific I''d like to use bash -x to see why I''m running into the following error:
> # xm create -c host.cfg
> Using config file "host.cfg".
> aa:bb:cc:dd:ee:ff
> Error: Device 51712 (vbd) could not 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 {
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 Oct 09
9
puppetca is unable to sign certificate
Hi - I a ran puppetd -vt against a brand newly build host (which is
what I normally do for a new host) and got the usual message:
err: No certificate; running with reduced functionality.
info: Creating a new certificate request for sega-dev-1.
info: Requesting certificate
On the puppetmaster, I then list the waiting host with: puppetca
--list then sign the key. In this case, I decided that the
2011 May 09
4
Managing Switches.
All,
I was looking at the new feature of puppet to manage switches, and it says:
"A current limitation is that it isn’t possible to have 2 switches with the
same interface name"
Does this mean that if one switch has an interface called FastEthernet 0/1,
that puppet can''t manage a second switch with an interface called
FastEthernet 0/1? If so, that probably means you can
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
2010 Aug 02
1
wrong facts going into storeconfigs, 0.25+2.6
I''m re-posting this because I''m not sure that it got through the first
time. If someone could at least echo back that this is reaching the
list, I''d appreciate it. (I''m new to the list.)
Sometimes (with variable frequency) storeconfigs stores the wrong data
in the fact_values table. This has the end result that exported
resources, when collected, have
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 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
2011 Dec 16
9
Puppet capacity with apache+passenger, server saturated
Hi everyone,
I have a problem with my Puppet server, the server is overloaded and
processes need to add half of my farm nodes yet!
The server is hosted on a blade with the following characteristics:
Processors: 8 cores
Memory Ram: 12 Gb
Operating System: Debian Squeeze
Version of parcel:
2.7.1-1 ~ bpo60 puppet 1
puppet-common 2.7.1-1 ~ bpo60 1
2.7.1-1 ~ bpo60 1 puppetmaster
puppetmaster 2.7.1-1 ~
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:
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
2007 Apr 02
3
Man pages
Folks,
I''ve been looking at creating a set of man pages for puppet and I''m
trying to come up with a reasonable hierarchy. I''d appreciate any
suggestions.
So far, here''s what I''ve come up with:
- puppet(1)
- puppetca(1)
- puppetdoc(1)
- puppetrun(1)
- puppetca.conf(5)
- puppetd.conf(5)
- puppetmasterd.conf(5)
- puppetd(8)
-
2010 Dec 15
22
Separating puppetmaster file serving and catalogs
I''m looking for a way to run more than one puppetmaster on the same server under passenger. Most of the puppet CPU load is waiting for the catalogs to compile. This also seems to be mostly what takes large amounts of RAM. I have storedconfigs on.
I want to be able to move the fileserver to a different pool of puppetmaster processes. Is there an easy way to tell the client, either in
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
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