Displaying 20 results from an estimated 10000 matches similar to: "How to validate puppet manifests without actually executing puppet?"
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 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 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 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 Feb 20
8
overriding included classes
I believe this has already been discussed[1], but I''d like to add a bit
more to that original discussion and see if anyone has any suggestions.
Here''s what I''m trying to do: we have a set of very thorough "wipe"
scripts that run every night on our workstations. I''d like to stash
these into a class so that I can include them as a group:
class wiped
2007 Aug 23
4
Questions about modules and namespaces
Hello
>From my understanding, modules are not autosearched. So, if I have:
include ssh
... then puppet will look for a module names ssh and class named ssh
defined in /modules/ssh/init.pp
Moreover, if I have:
include ssh::global
... then Puppet will for class global defined in /modules/ssh/init.pp or
/modules/ssh/global.ss.
Is that correct? Or am I leaving out some imports
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 Dec 14
15
Not so complex CompleteConfiguration example of a Complete Configuration?
I am new to Puppet and very eager to apply it to a project.
But I am somewhat stymied by the learning curve. So far I''ve found
many very simple examples of how to modify a file or add a user and a
very complex example http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration
.
I have not been able to find any other examples of a total
configuration tree (ie /etc/puppet/*)
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
2007 Apr 25
12
Facter repository
Is there a repository of Facter plugins that people have made? I''m working
on a few that i wouldn''t mind sharing when complete.
2007 Aug 07
5
parsing manifests in a pre-commit hook
Hello,
I was wondering if there is a way to parse individual manifest files as
part of a pre-commit hook in subversion. I am looking for something like
puppetmasterd --parseonly, but that will work on individual files. This
way I can reject a commit if it does not pass.
Any ideas?
TIA
2006 Dec 05
3
RPMs must specify a package source
This is a new one for me. What does it mean? I don''t recall these configs
giving me this problem before:
RPMs must specify a package source in file
/var/lib/puppet/manifests/modules/ssh.pp at line 18
2007 Sep 28
3
Host groups config in puppet & User Management.
Hi,
I have installed Puppet puppet-0.23.2-1.el4 &
puppet-server-0.23.2-1.el4.
Now trying to configure. I have a basic config which changes the sudo
permission of the file.
Currently I am using the puppet server as client. Now I wanted to add
all my hosts some linux some unix. So was looking for a config syntax
whioh can create groups.
Like IT = [ host-1, host2, shost3 ]
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 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 } ??
2007 Apr 04
6
Best practice, dev/test/staging/production environments
I like the Stanford Best Practices guide for puppet. One thing I didn''t
see it address was handling of separate environments, for example Dev,
Test, Staging, Production.
My thoughts on this so far, are:
brainstorm #1) Handle environment differences with metadata:
node devProductName01 {
$env = "dev"
include ProductName-webserver
}
node testProductName01 {
2007 Mar 29
7
rrdgraphs?
Anyone using the rrdgraph report on the puppetmaster on Debian stable? I''m
trying to get this working and not getting far. I even took rrdtool and
librrd0-dev from backports and I still get the same problem. It seems that
the rrdfiles are being somewhat created, but nevertheless, the puppetmaster
isn''t happy and keeps spewing:
err: Report rrdgraph failed: Could not create
2007 Mar 19
11
Parsechecking in a commit hook
This has been a much-requested feature, and is now a reality (in svn
trunk):
There is a new option, --ignoreimport, that will (surprisingly)
ignore import statements. This is really only useful when using --
parseonly in a commit hook, and note that you''ll have to add the
option to --parseonly, none of the puppet executables will add it for
you. You should be able to
2007 May 11
6
Quote me on that [puppet best practice]
Another point of disparity between how I see others write Puppet manifests
and the Best Practice that I''ve adopted at my institution is the use of
quoting.
In Puppet, you can get away with not quoting values or references if there
isn''t a special character or a keyword being used (e.g. package { openssh:
...} or User[agirl]).
However, even though that is possible, to make
2007 Jul 03
7
CA migration
Anyone ever migrated the puppetca to a different host? What are the steps
that are involved?