Howdy,
I've been getting this issue for about a month in dashboard. All our
nodes poll on a cronjob between 00:00 and 01:00 daily, but one node
has been getting this as a failed task for a while, with the yaml
files building up on the server. Outside of this one cronjob, other
puppet runs on the
Hello!
I am using puppet-2.7.6 on FreeBSD.
master is running with apache22 and passenger.
I have about 50 clients which share about 20 config files via puppet.
agents are configured to query master every 30 minutes with
splay=true.
After 2-3 days of running, server stops to respond. I see in
Hi,
I am trying to convince aptitude update to run only when a file
changes in /etc/apt/sources.list.d:
exec {
snip
aptitude-update:
command = /usr/bin/aptitude update,
subscribe = $basedir/sources.list.d,
refreshonly = true;
}
File { owner = 'root', group =
On 12/01/2011 08:01 AM, Alexander Swen wrote:
Hi,
I am trying to convince aptitude update to run only when a file
changes in /etc/apt/sources.list.d:
[...]
however, when I run this on a target system, puppet generates
the .list file in /etc/apt/sources.list.d but forgets to schedule a
run of
On 1 dec, 14:16, Phil Frost ind...@bitglue.com wrote:
Once you solve that, the next problem you will encounter is that the
update may or may not happen before you attempt to install the packages
you want from backports. It took me a while to find a solution, so maybe
you will find something
On Dec 1, 2011, at 8:41 AM, Alexander Swen wrote:
Hi Phil, thanks for your answer, I tried the first solution you
suggest but it raises another problem:
err: Could not apply complete catalog: Found dependency cycles in the
following relationships: File[/etc/init.d/iptables] =
Yeah, that's annoying. It may help to throw graph=true in your puppet.conf,
then look at the output in /var/lib/puppet/state/graphs (or set graphdir)
with graphviz/dot or omnigraffle. Unfortunately, there's no way to track down
the source of a particular edge in the graph, so finding a
Does anyone have any other suggestions for me please? cheers!!
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
On Dec 1, 3:59 am, Steve Traylen steve.tray...@cern.ch wrote:
Hi,
This is very possibly by design so I am checking that is by design and if so
there is a consistant work around.
Any class defaults look to be set when the class is stored , any class
defaults are then
effectively ignored
Here is a module layout:
tomcat
|-- facter
|-- files
| `-- cleanTomcatLogs.pl
|-- lib
| `-- puppet
| |-- parser
| |-- provider
| `-- type
|-- manifests
| |-- classes
| |-- defines
| |-- init.pp
| |-- scripts
| | `-- cleanlogs.pp
| `-- scripts.pp
`-- templates
Augeas?
-Ursprüngliche Nachricht-
Von: puppet-users@googlegroups.com [mailto:puppet-
us...@googlegroups.com] Im Auftrag von Sans
Gesendet: Donnerstag, 1. Dezember 2011 15:54
An: Puppet Users
Betreff: [Puppet Users] Re: How to make partial change to a line??
Does anyone have any
On Dec 1, 2011, at 8:19 AM, Peter Berghold wrote:
Here is a module layout:
tomcat
|-- facter
|-- files
| `-- cleanTomcatLogs.pl
|-- lib
| `-- puppet
| |-- parser
| |-- provider
| `-- type
|-- manifests
| |-- classes
| |-- defines
| |-- init.pp
| |--
Almost as soon as I hit send I thought of something.
I added
include scripts/*
to scripts.pp and it worked like a charm.
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To
oops...
meant
import scripts/*.pp
not include...
On Thu, Dec 1, 2011 at 10:34 AM, Peter Berghold salty.cowd...@gmail.comwrote:
Almost as soon as I hit send I thought of something.
I added
include scripts/*
to scripts.pp and it worked like a charm.
--
Peter L. Berghold
That should definitely not be needed and I'd advise against it - you've
just brute forced past Puppet's auto loading and you've moved into
manual loading :-)
Let me try replicate your module structure and I'll get back to you.
On 01/12/11 15:35, Peter Berghold wrote:
oops...
meant
import
On Nov 30, 2011, at 8:04 PM, Nan Liu wrote:
On Wed, Nov 30, 2011 at 7:41 PM, Dave Alden d...@alden.name wrote:
Is there some way to have an exec run only if you pass a tag on the command
line? For example:
class fubar {
exec { 'reboot-system':
refreshonly = true,
command =
Looks fine on my Puppet Master... that turned out a lot less helpful
than I was aiming for ;-)
info: Applying configuration version '1322754170'
notice:
/Stage[main]/Tomcat::Scripts::Cleanlogs/File[clean-tomcat-logs-script]/ensure:
defined content as '{md5}d41d8cd98f00b204e9800998ecf8427e'
... to invoke a template from multiple modules? Here is what I mean:
I have a module called postfix which handles the installation and base
configuration of the postfix MTA. I have another module called
spamassassin which deals with the download and installation of the
Mail::SpamAssassin Perl
(Take all this with a grain of salt, perhaps I'm inexperiencedly rhubarbing on.)
You don't necessarily need to configure your packages in the same module that
you install them in. You can have a generic module for installing packages,
which is included by more specific configuration modules.
I
On Dec 1, 2011, at 8:49 AM, Peter Berghold wrote:
... to invoke a template from multiple modules? Here is what I mean:
I have a module called postfix which handles the installation and base
configuration of the postfix MTA. I have another module called
spamassassin which deals with the
On Thu, Dec 1, 2011 at 4:16 PM, jcbollinger john.bollin...@stjude.org wrote:
The default is taken from storage host rather than collecting host.
This may well be by design ?
Indeed it is, doubly so. First, the whole point of exported resources
is that the *exporting* node defines all their
Generally when I run into this problem I make the troublesome
configuration file a Concat file - there's a number of implementations
around, including a pure Ruby one I've been meaning to track down but
this is RIP's original: https://github.com/ripienaar/puppet-concat
Make the Postfix module
On Dec 1, 2011, at 10:49 AM, Peter Berghold wrote:
I have a module called postfix which handles the installation and base
configuration of the postfix MTA. I have another module called
spamassassin which deals with the download and installation of the
Mail::SpamAssassin Perl module which
Augeas - does it work for any file? just tried and augtool print /
files/etc/profile.d/my-env.sh on the agent returns nothing. Cheers!!
On Dec 1, 3:23 pm, Bernd Adamowicz bernd.adamow...@esailors.de
wrote:
Augeas?
--
You received this message because you are subscribed to the Google Groups
As noted on the puppet-dev list by Jeffrey Ollie, 2.7.8rc1 had a patch
mistakenly applied before release.
So here is 2.7.8rc2, now with less extra patches.
Puppet 2.7.8rc2 is available. 2.7.8rc2 contains everything that was
being previewed in the 2.7.7rc series as well as some new content.
Key
Jeff, you are totally right. We mistakenly applied a patch before
release. We've just released 2.7.8rc2, which should be more sane and
not try to create those directories. Thanks for letting us know.
-haus
On Thu, Dec 1, 2011 at 8:42 AM, Jeffrey Ollie j...@ocjtech.us wrote:
On Thu, Dec 1, 2011
On Dec 1, 9:19 am, Peter Berghold salty.cowd...@gmail.com wrote:
Here is a module layout:
tomcat
|-- facter
|-- files
| `-- cleanTomcatLogs.pl
|-- lib
| `-- puppet
| |-- parser
| |-- provider
| `-- type
|-- manifests
| |-- classes
| |-- defines
| |--
On Dec 1, 8:19 am, Alexander Swen alex.s...@gmail.com wrote:
Yeah, that's annoying. It may help to throw graph=true in your
puppet.conf, then look at the output in /var/lib/puppet/state/graphs (or
set graphdir) with graphviz/dot or omnigraffle. Unfortunately, there's no
way to track
Yes, stages can cause that kind of problem very easily. I think the
best strategy when using stages is to make sure that no class has any
explicit relationship to any class assigned to a different stage. All
cross-stage relationships are either implicit already in the stage
assignments or
Anyone know where I can get puppet from for Oracle Enterprise Linux ?
Actually, I guess the problem runs deeper than that, because this OEL
is running inside EC2, and the Oracle supplied AMI doesn't even come
with any repo's installed, so I also have to work out how to get
facter, ruby etc etc on
On Thu, Dec 1, 2011 at 4:03 PM, Michael Stahnke stah...@puppetlabs.com wrote:
Puppet works fine on OEL. You can add yum.puppetlabs.com as a repo
and use the el based stuff.
rpm -Uvh
http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-1.noarch.rpm
That should get you going.
Try the EPEL repo -- http://fedoraproject.org/wiki/EPEL.
- Gonzalo
On Fri, Dec 2, 2011 at 11:07 AM, Douglas Garstang
doug.garst...@gmail.comwrote:
On Thu, Dec 1, 2011 at 4:03 PM, Michael Stahnke stah...@puppetlabs.com
wrote:
Puppet works fine on OEL. You can add yum.puppetlabs.com as a
I'm trying to call puppet from a bash script and whilst it works, it
causes my script to end prematurely.
#!/bin/bash
...
function runPuppetLocally()
{
echo ...running Puppet locally
exec puppet agent --test
echo Puppet complete
}
runPuppetLocally
I presume Puppet is issuing an
I am currently troubleshooting an issue where i cannot get a variable
(e.g. $verScripts )that i am setting in templates.pp in a node
definition, then inheriting that def in to a specific node in the
nodes.pp and calling the variable as part of a source path in the
init.pp for a module...the
On 29. nov. 2011 19:28, Michael Stahnke wrote:
That's no longer the case with apt.puppetlabs.com and
yum.puppetlabs.com (or if it is, my team messed up).
We've been following your work on this closely and are very happy you
and Puppetlabs finally pulled this together. A big 'thank you'! The
There are only a few minor differences between RHEL, CentOS, and
Oracle Linux... so if a package works on RHEL, then it also works on
Oracle Linux.
IIRC, if you point to the correct repo, you can even update Oracle
Linux with CentOS repo. Further, Oracle has a public yum for Oracle
Linux even for
I am currently troubleshooting an issue where i cannot get a variable
that i am setting in templates.pp in a node definition, then
inheriting that def in to a specific node in the nodes.pp and calling
the variable as part of a source path in the init.pp for a
module...the varibale is not expanding
Hi all,
I'm trying to figure out if I can serve a certain template that matches
a hostname or serve the default like I could if this was just a file.
Works:
file { '/etc/yum.conf':
ensure = file,
source = [puppet://puppet/yum/yum.conf.$hostname,
On Wed, Nov 30, 2011 at 3:29 AM, Jan Ivar Beddari
jan.ivar.bedd...@uib.no wrote:
On 29. nov. 2011 19:28, Michael Stahnke wrote:
That's no longer the case with apt.puppetlabs.com and
yum.puppetlabs.com (or if it is, my team messed up).
We've been following your work on this closely and are
Rayson,
Thanks. Having all sorts of issues with that. Our server is running
2.6.2, which means that the client packages needs to have 2.6.2 or
older, but when I try and install older versions of puppet, I get
dependancy failures :(
Doug.
On Thu, Dec 1, 2011 at 4:37 PM, Rayson Ho
Can you provide the resource defined in the error message?
On Thu, Dec 1, 2011 at 8:38 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
Finally got the dependancies sorted out, and on the first run on the
client, I am seeing:
Dec 1 20:37:35 ip-10-123-21-192 puppet-agent[2562]: Failed to
Sure...
package {
'forgerock-openam':
ensure = '9.5.3-1',
before = Class['tomcat::enable'];
}
Doug.
On Thu, Dec 1, 2011 at 6:41 PM, Matthew Black mjbl...@gmail.com wrote:
Can you provide the resource defined in the error message?
On Thu, Dec 1, 2011
On Thu, Dec 1, 2011 at 9:12 PM, Phil Frost ind...@bitglue.com wrote:
On 11/30/2011 11:01 AM, Ted wrote:
I'm trying to call puppet from a bash script and whilst it works, it
causes my script to end prematurely.
#!/bin/bash
...
function runPuppetLocally()
{
echo ...running Puppet
43 matches
Mail list logo