Hi all,
Is it possible to handle notify in a define?
as in:
##
define special_file($content) {
file {$name:
content = $content,
ensure = file
}
}
special_file { /blahfile:
content = blahblah
}
package { blah:
notify = SpecialFile[/blahfile]
}
Hello,
I did make a stupid fault: not commiting changes to version control :-(
After the installation of puppet-dashboard, I added a recipe to add
report = true to puppet config files on clients.
Now all Puppet clients don't update because of an error...
What can be the various reasons for an
On 6/25/2010 12:03 AM, Bill Weiss wrote:
My problem is, in this case, there are machines that need X but not
Y, Y but not X, X and Y, or neither. I can obviously write all of
those cases out separately, but that means duplication of code for
setting up the parts of X and Y that aren't
Hi Eric,
thanks for starting this interesting thread!
On 6/25/2010 1:02 AM, Eric Sorenson wrote:
- Describe revision control setup subversion server with a branch
named 'test' and a branch named 'prod'. all puppetmasters live on the
prod branch - $moduledir is a working-copy checkout of svn,
Where are your templates?
/etc/puppet/templates
or
/etc/puppet/modules/module-name/templates (I may have a typo in the
path.)
Also, what's the full path to puppet.conf.erb?
On Jun 28, 2010, at 1:04 AM, Pieter Baele wrote:
Hello,
I did make a stupid fault: not commiting
Hello,
Since we upgraded to 0.25.4, we have this kind of warning:
DEPRECATION NOTICE: Files found in modules without specifying 'modules' in file
path will be deprecated in the next major release. Please fix module 'module
name' when no 0.24.x clients are present
The message is easy to
On 6/28/2010 12:25 PM, Cedric Jeanneret wrote:
Hello,
Since we upgraded to 0.25.4, we have this kind of warning:
DEPRECATION NOTICE: Files found in modules without specifying
'modules' in file path will be deprecated in the next major release.
Please fix module 'module name' when no 0.24.x
Hello,
How do I deploy a file, but then stop deploying it when it has been
changed in a certain way?
Something like:
file { /etc/ldap.conf:
owner = root,
group = nscd,
mode= 640,
content = template(gu_auth/ldap.conf.rb),
onlyifnot = grep -E
Mohamed Lrhazi lrh...@gmail.com writes:
How do I deploy a file, but then stop deploying it when it has been changed
in a certain way?
Don't do that. That way lies madness. You will have machines that are
randomly in and out of the pool of managed files all over the place, with no
way to
On Mon, 28 Jun 2010, Mohamed Lrhazi wrote:
file { /etc/ldap.conf:
owner = root,
group = nscd,
mode= 640,
content = template(gu_auth/ldap.conf.rb),
onlyifnot = grep -E '^PUPPET ME NOT' '/etc/ldap.conf',
}
onlyif doesn't work on file
I have a 3 different puppetmasters running different groups of
machines (dev, testing, and production). I'd like to very simply say
Give me a brief summary of the status of the nodes you manage.
I've been having nightmare dependency problems trying to get things
like Dashboard running that seem
Thanks a lot Daniel.
However, I *strongly* urge you to tell us what you problem is
Right, am newbie here, so am sure am doing a lot of things wrong, or
thinking about them from a wrong way
I have a bunch of files that were deployed via kickstart and manual
provisioning procedures that I am
On Mon, Jun 28, 2010 at 4:07 AM, Alan Barrett a...@cequrux.com wrote:
On Sun, 27 Jun 2010, Douglas Garstang wrote:
node 'node1.fr.xxx.com' {
include facility::sjc
include ldap::client
}
In this example, variables defined in facility::sjc are not visible in
ldap::client (in this case,
On 6/28/2010 5:33 PM, Mohamed Lrhazi wrote:
However, I *strongly* urge you to tell us what you problem is
I have a bunch of files that were deployed via kickstart and manual
provisioning procedures that I am translating to Puppet...
My condolences.
This one file, /etc/ldap.conf, is
On Jun 28, 2010, at 8:33 AM, Mohamed Lrhazi wrote:
Thanks a lot Daniel.
However, I *strongly* urge you to tell us what you problem is
Right, am newbie here, so am sure am doing a lot of things wrong, or
thinking about them from a wrong way
I have a bunch of files that were
On Mon, 28 Jun 2010, Douglas Garstang wrote:
node 'node1.fr.xxx.com' {
$facility_name = sjc
include ldap::client
Not gonna work. It's pointless to define the facility at the node level.
You have to set the facility name somewhere. If not at the node level,
then where?
On Jun 28, 2010, at 9:09 AM, David Schmitt wrote:
On 6/28/2010 5:33 PM, Mohamed Lrhazi wrote:
However, I *strongly* urge you to tell us what you problem is
I have a bunch of files that were deployed via kickstart and manual
provisioning procedures that I am translating to Puppet...
My
This actually looks like a prime candidate for a custom written fact so
that you don't have to faff about like this all over the place.
On 28/06/2010 17:28, Alan Barrett wrote:
On Mon, 28 Jun 2010, Douglas Garstang wrote:
node 'node1.fr.xxx.com' {
$facility_name = sjc
Thanks a lot guys. I will explore both roads.
Mohamed.
On Mon, Jun 28, 2010 at 12:30 PM, Patrick Mohr kc7...@gmail.com wrote:
On Jun 28, 2010, at 9:09 AM, David Schmitt wrote:
On 6/28/2010 5:33 PM, Mohamed Lrhazi wrote:
However, I *strongly* urge you to tell us what you problem is
I have
this topic is currently being massively discussed so I just would like to share
my pain also.
my intention was to have an array of node's roles and each included role class
would just record into the array its role identificator. then I could write
simple function has_role and then write
Wow, this really makes Puppet look like a programming language, which it isn't.
Have you considered creating classes for each of the roles and then classes
that include those roles and then assigning one of those classes to each node?
We have hundreds of combinations here but that's how we do
On Jun 28, 2010, at 6:38 AM, dbs wrote:
I have a 3 different puppetmasters running different groups of
machines (dev, testing, and production). I'd like to very simply say
Give me a brief summary of the status of the nodes you manage.
I've been having nightmare dependency problems trying to
On Mon, Jun 28, 2010 at 10:22 AM, Antony Mayi antonym...@yahoo.com wrote:
this topic is currently being massively discussed so I just would like to
share my pain also.
my intention was to have an array of node's roles and each included role
class would just record into the array its role
Well you can use the reporting system, dump to YAML and parse, but I
would highly suggest waiting until 2.6.0 where the reporting is going
from cludgy to elegant. If you need it now, look at:
http://projects.puppetlabs.com/projects/puppet/wiki/Reports_And_Reporting
Right now supported things are
Hi,
had the same problem a few days ago (luckily only in a test environment).
It seems that puppetca --clean ... is not enough in this case.
For me it was solved be deleting the corresponding cert from
/etc/puppet/ssl/certs on the server the client.
Robert
On Sun, Jun 27, 2010 at 12:47 PM,
I am trying to use Puppet to handle our Linux Vserver based virtual servers,
including the actual installation of the virtual servers. (If you don't know
how Linux Vserver works, think of a BSD style jail)
The elegant way to configure this, would be to export the configuration
details from the
I'm trying out the apache module from puppet labs. Note the a2mod type
in it. Now I have uncovered the classical provider problem with it. If
you require some apache modules enabled and you don't have apache
installed you get the classical no provider for a2mod (in this
particular case) and
On Jun 28, 2010, at 10:31 AM, Luke Kanies wrote:
On Jun 28, 2010, at 6:38 AM, dbs wrote:
I have a 3 different puppetmasters running different groups of
machines (dev, testing, and production). I'd like to very simply say
Give me a brief summary of the status of the nodes you manage.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
1. Is this a good ideea? (if not why not?) From other discussions, I
know that this is how puppet should behave in general about type providers.
2. Should I open a ticket to add this new file for the apache module?
3. This seems trivial. Why
Imho you should separate the resources (class/defines) used by the
physical machine from those of the virtual machine.
Example:
You should have a define for the physical machines, that creates the
virtual machine(s). They would probably look like your define
my_vserver, without the property
On 28.06.2010 21:16, Peter Meier wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
1. Is this a good ideea? (if not why not?) From other discussions, I
know that this is how puppet should behave in general about type providers.
2. Should I open a ticket to add this new file for the
Silviu Paragina wrote:
according to Luke @ puppetcamp Europe this is a problem that should be
fixed within puppet. So it should be possible to define that package
cron or apache should be installed and all the cron/a2mod depend on that
package and puppet shouldn't fail before.
I totally
Anyone written a check for nagios to make sure their nodes are checking in and
updating correctly? I think I'd rather have a passive check on the nagios
server that just alerts me if something hasn't checked in for last 24 hours
rather than having antoher dashboard to go look at. Anyone tried
On Mon, Jun 28, 2010 at 9:28 AM, Alan Barrett a...@cequrux.com wrote:
On Mon, 28 Jun 2010, Douglas Garstang wrote:
node 'node1.fr.xxx.com' {
$facility_name = sjc
include ldap::client
Not gonna work. It's pointless to define the facility at the node level.
You have to
Daniel Wittenberg wrote:
Anyone written a check for nagios to make sure their nodes are
checking in and updating correctly? I think I'd rather have a
passive check on the nagios server that just alerts me if something
hasn't checked in for last 24 hours rather than having antoher
dashboard
I was thinking I'd have to look at the master logs on server, but looks like
each host has the state file. So am I correct in assuming that the state.yaml
will only get updated/touched on successful run? This is why I was thinking of
checking server logs on master to be sure that it completed
Anyone know where I can find a good chrooted named module for centos?
Named as chroot is ugly... soft and hard links everywhere...
Doug
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/29/2010 01:27 AM, Douglas Garstang wrote:
Anyone know where I can find a good chrooted named module for centos?
Named as chroot is ugly... soft and hard links everywhere...
http://lmgtfy.com/?q=puppet+module+chroot+named
-BEGIN PGP
Never seen that before. I laughed so hard that I peed a little. thank you
for that. the laughing, not necessarily the peeing.
On Mon, Jun 28, 2010 at 10:47 PM, Peter Meier peter.me...@immerda.chwrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/29/2010 01:27 AM, Douglas Garstang
I got it.
I had to put require = undef in the package {} sections in yum::client.
Doug.
On Mon, Jun 28, 2010 at 10:32 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
So... somehow on a previous implementation, I was able to set
everything up so that all my yum repo's where in place before
40 matches
Mail list logo