Displaying 20 results from an estimated 7000 matches similar to: "puppet seems to be restarting itself very often"
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [
2007 May 07
68
Puppet Best Practice
Hello everyone,
A long time ago, I posted the Stanford Best Practices and I''ve gone through
and updated it today. I''d like to have people go through it and see if we
can strip out some Stanford specific stuff and tag this as an official best
practice. I think an official best practice will be important as more and
more people consider making shareable modules, etc (mostly
2007 Dec 13
10
multiple files with same attributes
I''m almost afraid to ask because this probably sticks out
like a sore thumb on the wiki somewhere, and I''m just not
seeing it.
But I have a bunch of files with the same owner/mode. Is
there a way to somehow collapse these, so that all I repeat
is the file name?
Example:
file {
"/opt/test/1":
owner => "jtan",
group =>
2007 May 01
8
Global Variables?
What is the view of having / not having global variables in Puppet?
Facter variables are global in the sense they are defined in every scope
(whereas ''normal'' variables are only available within the scope they are
defined in).
I could simply add a custom fact for my DoesTheServerNeedASerialConsole
flag to Facter, but I''m not 100% sure I should be having the client
2007 Oct 16
30
Template Nodes considered harmful
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Russ, Digant, *!
Several times on the IRC channel I noticed people having problems getting to
grips with the interaction of scopes when using template nodes[1]. Typically
this looks thus:
| node genericwebserver { stuff }
|
| node ''web01.example.com'' inherits genericwebserver {
| $influence_genericwebserver =
2007 Oct 12
10
external nodes
I use a simple yaml file and and an external nodes script to express each of
my nodes. What I''m trying to do is make sure that all individual data is
expressed at the node level and not have anything in classes or modules that
isn''t generic and shared.
the example below works really well but I can''t express it via my external
nodes, I have to bury it in a class (or
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2007 Feb 15
3
Fwd: devnull-dev.stanford.edu syslog filter results (fwd)
We''re still intermittantly getting these messages in syslog on various
different systems:
Feb 14 17:32:10 server-dev puppetd[20363]: Could not call
puppetreports.report: #<EOFError: end of file reached> Feb 14 17:32:10
server-dev puppetd[20363]: Reporting failed: end of file reached
Anyone else ever see stuff like this?
2007 Mar 16
19
Terminology
Hello folks,
I''ve blended/updated the Glossary of Terms
(<http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms>). It seems
the definition of "manifests" is a bit different amongst members.
Some people consider a "manifest" to be a configuration file written in
puppet, e.g. any .pp file. But at my organization, we''ve considered the
totality
2007 Feb 12
8
How to validate puppet manifests without actually executing puppet?
Hi,
I want to validate my puppet manifests before I check them into source
control. I just want to make sure that the manifest syntaxes are legal, not
to do any more complex testing - the checkin may be on my laptop and not on
the system that the manifests may be intended to run on.
Ideally I''d be able to do this from ruby code - and I did try to instantiate
some classes and override
2007 Apr 10
16
Import all modules?
Is there a way to tell the puppetmaster that I want to import all modules
rather than listing each one individually?
2007 Dec 18
5
resource collection error
I''m seeing these in my logs on my puppetmaster:
puppetmasterd[4111]: Could not store configs: SQLite3::SQLException: SQL
logic error or missing database: DELETE FROM fact_values
WHERE "id" = 8
currently this is 0.24.0
relect from some previously collected resource that wasn''t cleaned up?
upgrade issue?
nothing to worry about?
that''s the only
2007 Oct 23
6
what''s the maximum of the runinterval
hi,all
I want the puppetd run in daemon only run by the puppetrun
trigger, not schedule run .
so how can do this ? what''s the maximum of the runinterval ? I want
change this option to do this. Please help me .
--
Huang Mingyou
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 Dec 11
4
EL5.1 client problems
Hi all,
I attempted to add an EL5.1 client to our puppet server (EL5), and after
signing the client cert, got the error "Certificates were not trusted:
hostname not match with the server certificate"
I found the mailing list discussion and the relevant page:
http://www.reductivelabs.com/trac/puppet/wiki/RubySSL-2007-006
As far as I can tell, my puppermaster''s cert CN matches
2007 Sep 21
3
how to update puppet ?
hi ,all
how to update the puppet from 0.22.4 to 0.23.2 . just install it ?
is there have some thing need to be be careful ? when update the
server and client,all just install the new version ?
please help me ,because I use the puppet in product servers,so I need
be careful. :D
--
Huang Mingyou
2007 Feb 12
9
New rpms for lockdir problem
I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the
lockdir problem that many of you have encountered. The packages should
show up on a mirror near you very soon.
Unfortunately, I am having trouble getting to my buildsystem that I use
for the RHEL versions of the RPM; I made the source rpm available on my
people page[1] If you need the RPM for RHEL, you need to
2007 Feb 22
4
Assistance Requested
Hello,
I am currently experiencing a bit of a quandry with how to specify default configuration applications to generic nodes.
Here is an example setup:
Classes:
Class A
Class B inherits Class A
Class C inherits Class B
Problem:
I have unique hosts (nodes) X and Y and a bunch of other standard hosts. I would like X and Y to be able to override attributes in Class C (thus inherit class C) but
2007 May 08
13
Override to unspecify
In the normal override method, you can change the value of a parameter, but
can you unset a parameter?
file { "/etc/somefile":
mode => 644,
owner => "dude"
}
File ["/etc/somefile"] { mode => unset } ??
2006 Sep 15
8
file: target generates error
file { "/var/log/syslog":
target => "/var/log/messages"
}
generates the following error:
err: //henson/stanford/syslog/file=/var/log/syslog: Failed to retrieve
current state: undefined method `should'' for false:FalseClass