Hi Luke,
I've tried to check the gems in my Ubuntu Hardy.
The trace also provided below, it seems Puppetshow is using older
gems?
Thanks again,
Rodney
$ gem list
actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
hobo (0.8.5)
hobofields (
Hello Joshua,
Thank you very much. I finally got around to trying this out and it
works nicely! But for some reason the unless grep didn't work. I had
it test for the installed gem directory:
define rubygems::install ( $ensure = 'true', $version ) {
exec { "gem-$name":
command => "/usr/loc
Hello Tim,
I ran into the same issue and Joshua suggested using an exec. It works
great. I may also change all my gem installs to use this since the
package provider also tries to install again if there's multiple
versions. Like with
capistrano (2.5.3, 2.1.0). <- can't tell 2.1.0 is installed.
Hi
> This may not be the right place, but i hope it is :)
puppet-users might be the place to ask. I'm cc-ing the list.
> [...]
> any ideas?
use replace => false in the file definition and you don't have to
distinguish with a fact:
http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
Hello,
I want to create many symbolic links as provided by an external_nodes
script.
I started with a simple manifest to create a type for each element in
an array:
$files = [ '/tmp/one', '/tmp/two' ]
file { $files:
ensure => '/tmp/common_target',
}
but, of course, this creates symlinks to t
Maybe a bit off-topic, but since when storedconfig works with Rails
2.x? I'm asking because
http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
explicitly says that only Rails 1.x is supported.
/BR
Stanislaw
On Jan 8, 9:59 am, Rodney Quillo wrote:
> Hi Luke,
>
> I've tried to ch
Hi.
I've noticed that on servers that are both puppet and LDAP clients,
the puppet client will hang if the LDAP server is not reachable. Does
anyone know what the reason for this is?
Regards,
Kenneth Holter
--~--~-~--~~~---~--~~
You received this message because
> Can you open an issue with the description of the problem and attach any
> logs and config files to help reproduce the behavior.
Hi Andrew
The issue is now logged with the steps to reproduce as:
http://projects.reductivelabs.com/issues/show/1855
Thanks
-ant
--~--~-~--~~---
I've run puppet server with storedconfig enable with no problem.
The mysql db were populated with puppet information successfully.
I'm not sure why the doc says it requires Rails 1.x also, or it is
puppetshow that is not updated to for Rails 2.x?
Rodney
On Jan 8, 8:28 pm, Stasheck wrote:
> M
James Turnbull schrieb am 07. Jan 2009 um 22:03:03 CET:
> windowsrefund wrote:
> > I've got a check defined in nagios that allows me to determine if a
> > puppet client has not updated itself in awhile
> >
> > /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/
> > state.yaml -w 3600
How about check_puppet.rb in ext/ ? This one runs on the clients =)
Regards,
AJ
On 9/01/09 3:16 AM, "Helmut Lichtenberg"
wrote:
>
> James Turnbull schrieb am 07. Jan 2009 um 22:03:03 CET:
>> windowsrefund wrote:
>>> I've got a check defined in nagios that allows me to determine if a
>>> pup
On Jan 8, 2009, at 7:18 AM, Kenneth Holter wrote:
>
> Hi.
>
>
> I've noticed that on servers that are both puppet and LDAP clients,
> the puppet client will hang if the LDAP server is not reachable. Does
> anyone know what the reason for this is?
I'd expect everything on the server to hang in t
On Jan 8, 2009, at 6:28 AM, Stasheck wrote:
> Maybe a bit off-topic, but since when storedconfig works with Rails
> 2.x? I'm asking because
> http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
> explicitly says that only Rails 1.x is supported.
Those docs are out of date. I'll
Hi,
I'm certain there must be an easy way to do this but I just can't figure
out how.
I'm looking for a way to execute a script *once* after a certain
operation (e.g. installing a package or a certain file) has occured. I
can make the exec 'require' the file or package but then it runs every
t
Instead of requiring the file, subscribe to it. Also, to only run when
the package changes set refreshonly to true.
file { "/test" :
source => "puppet:///test/testfile" }
exec { "run once on test file" :
cmd => "/bin/echo running",
refreshonly => true,
subscribe => File["/test"],
}
On Thu,
Another issue potentially in 0.25.5...
If I set a tag in an inherited node it is not present on directives
(files, etc.) run down the chain...
node foo {
tag(tagme)
}
node bar inherits foo {
rundefine { "no tag here" }
}
But it appears if you tag the node directly
node foo {}
node bar inher
On Jan 8, 2009, at 5:18 AM, Kenneth Holter wrote:
> I've noticed that on servers that are both puppet and LDAP clients,
> the puppet client will hang if the LDAP server is not reachable. Does
> anyone know what the reason for this is?
You should start using nscd (or your platform equivilant,) whi
So I wrote a new fact to determine clients proxy. Work's great when
I call it via facter as a single:
[jlegg...@lxp6d11m8v190 jleggett]$ facter etproxy
10.X.Y.Z:8080
But when I call facter alone (for full output of all facts) I see this
at beginning:
[jlegg...@lxp6d11m8v190 jleggett]$ facter
> since many times, a given node has uses many different modules (which are
> managed by different people) we decided to tag our "stable" modules (e.g.
> associate it with a version) and generate an environment out of tested
> combination of the stable modules.
Would you be willing to describe th
Hello...
I have an existing puppet setup that works very well except for one
thing. Occasionally the puppetmaster is busy and the clients tend to
"bunch up". Then on the next client run they tend to "bunch up" again
causing the puppetmaster to be slow down due to the high load which
causes more
I believe the client side 'splay' option takes care of this.
Best,
Adam
On Jan 8, 3:17 pm, Christopher wrote:
> Hello...
>
> I have an existing puppet setup that works very well except for one
> thing. Occasionally the puppetmaster is busy and the clients tend to
> "bunch up". Then on the nex
> > How can the state files be shared between servers?
>
> DRBD.
Considering a load-balanced environment, it seems this might not be optimal.
Perhaps the puppetmaster need the ability to store the state information in a
database.
--
Digant C Kasundra
Technical Lead, ITS Unix Systems and A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff Leggett wrote:
> So I wrote a new fact to determine clients proxy. Work's great when
> I call it via facter as a single:
>
> [jlegg...@lxp6d11m8v190 jleggett]$ facter etproxy
> 10.X.Y.Z:8080
>
> But when I call facter alone (for full output o
On Thu, Jan 08, 2009 at 12:41:14AM -0600, Luke Kanies wrote:
> The problem here is that the block passed to 'setcode' isn't run until
> later, at which point $6 is set to the last user's homedir. Try this:
>
> Facter.add("...") do
>homedir = $6 # dereference immediately
>setcode { home
On Jan 8, 2009, at 1:00 PM, Digant C Kasundra wrote:
>>> How can the state files be shared between servers?
>>
>> DRBD.
>
> Considering a load-balanced environment, it seems this might not be
> optimal. Perhaps the puppetmaster need the ability to store the
> state information in a database.
Hi,
Has anyone done this across multiple site, let's say, 13 sites, with a
primary-primary, backup-backup at each site?
How far does DRDB and Heartbeat take you across sites?
A
On Thu, Jan 8, 2009 at 5:00 PM, Adam Jacob wrote:
>
> On Jan 8, 2009, at 1:00 PM, Digant C Kasundra wrote:
How
Hello there
I've been advised to do modules instead of massive class files. Sounds
fine and based on http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
i've got:
[r...@puppetbeta puppet]# pwd
/etc/puppet
[r...@puppetbeta puppet]# find
.
./puppet.conf
./fileserver.conf
./modules
./module
Have you checked out the splay option?
Alternatively, I've since moved on from splay to use a cron job to run
puppetd. I have a meta package that pulls in puppet and drops in a root
cron job entry based on the mac address of the host's primary interface
during the post-install step of rpm.
C
I also use cron, but I found using the IP address last bit as a more
effective way to "randomize" it.
more info here:
http://reductivelabs.com/trac/puppet/wiki/Recipes/cron
Cheers,
Ohad
On Fri, Jan 9, 2009 at 9:21 AM, Ryan Dooley wrote:
>
> Have you checked out the splay option?
>
> Alternativ
Ok - I'll try to make it as simple as I can...
***Modules***
We define 3 types of modules (its just our internal definition):
1. host type - this module is the only class that the node would have and
its it primary function of the host (e.g. you can't use more than one host
type module in one no
That may be the problem - I call it by:
ipaddr = `facter ipaddress`.chomp
On Jan 8, 4:22 pm, James Turnbull wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
>
>
> Jeff Leggett wrote:
> > So I wrote a new fact to determine clients proxy. Work's great when
> > I call it via facter
I've also gone for cron, but I really randomize it by running
puppetd from a wrapper script:
#!/bin/bash
RANDOM=$$$(date +%s)
d=$[ ( $RANDOM % 900 ) + 1 ]
sleep $d
/opt/sysadmin/bin/puppetd -t
I know it's not absolutely 100% random, but it's random enough
for this. The risk of course is that
32 matches
Mail list logo