Displaying 20 results from an estimated 20000 matches similar to: "Not so complex CompleteConfiguration example of a Complete Configuration?"
2006 Sep 14
12
Specify and respecify
Hello Puppet users,
I had talked with Luke about this scenario and was wondering how others
would/are handling something like this.
Imagine a scenario where all servers will have a specific postfix
configuration except for a server or two or three. So, you want to define
a file "/etc/postfix/main.cf" and specify the source from your dist tree.
But for those exceptional servers,
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 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 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 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 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 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 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 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 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 Mar 02
2
Terminology merging
Hello everyone,
I''ve been working on an internal best practices document that also tackled
giving proper terms to things that were at the time uncoined. But looks
like we have a bit of a merge problem as other terms have been floating
around that seem to conflict with some terms we''ve been using internally at
my organization. I''m hoping we can discuss and
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 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 Aug 08
9
Modules, modules, everywhere
Hello folks,
At Stanford, we use modules to define every possible service, package,
feature in the traditional sense (apache, ntp, iptables, etc). Then, for
clients (such as other departments) and "services" (such as our mailman
infrastructure, our ldap infrastructure, etc), we use manifests in
/master/manifests and distributable files in /dist/ and templates in
/master/templates.
2007 Apr 18
2
Could not describe errors
Hello community,
We are running puppetmaster 0.22.3 with 45 servers attached and we are
seeing a lot of messages that say:
(err): Could not describe /ssh/sshd_config.RedHat: End of file reached:
We were seeing a lot of this with 0.22.1 as well. Interestingly, during
the stretch where we were running 0.22.2 (most of April until 2 days ago)
we didn''t see this error at all or very
2007 Jul 05
3
Does puppet have a way to disable a user?
Besides using an exec line with a case statement(to determine the specific os''s disable command), does puppet come with a buit in method to disable a user account?
Thanks!.
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you''re surfing.
_______________________________________________
Puppet-users mailing list
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 Dec 20
5
Apache2 module -- feedback appreciated
Hey folks,
I''ve just uploaded an apache2 module[1] to our Google Code
repository[2]. It''s based largely on the recipe available on the
Puppet trac[3], but with a fair amount of modification and
generalization... Basically, it provides abstractions for config file
snippets, site definitions, and apxs modules -- and then "basic" and
"debian"