i have the lenny puppet package running on both and yes i have stored
config running i see mysql query being done :)
facterversion = 1.5.1
puppetversion = 0.24.5
This is likely your problem. The bug you're encountering didn't hit
everyone, but it basically is a Rails constant
So I want to use facts from one host in the configuration of other
hosts.
Trivial example: setting restrict lines in ntp.conf to allow a
monitoring host to query ntpd on remote hosts.
So if the monitoring host boots with IP 10.2.2.3 (which may change
regularly), and it knows its the monitor host
Hello,
Am 12.05.2009 um 08:51 schrieb steverfran...@gmail.com:
Or do I have to copy the IP address of the monitor host to each
machine, via an exported resource file, and then process it locally in
an exec script to build the correct ntp.conf?
That doesn't seem very puppet-ish...
No, but I
I've been trying to reproduce your results, and got mixed results myself.
I did a similar test with puppet-test (ignoring for a second that a major
memory abuser is the file copying) i did simple compile tests.
the setup include 3 main scenarios:
1. latest passenger + ree
2. passenger
I've been testing 0.25beta1. I understand that the default pluginsync
mount is now a special PluginMount, presumably to do with the fact
that plugins are now modular.
However, I haven't quite gotten around to refactoring my Manifest, and
moreover a lot of our custom types and functions are
2009/5/12 Nigel Kersten nig...@google.com:
This was:
ruby 1.8.4 (2005-12-24) [x86_64-linux]
vs
ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
Ruby Enterprise Edition 20090421
on Ubuntu Dapper, using Passenger with Apache.
Interesting results.
Which version of puppet were you
Luke Kanies wrote:
On May 10, 2009, at 6:48 PM, Ben wrote:
Luke Kanies wrote:
On May 6, 2009, at 7:36 PM, Ben wrote:
I am creating a define to manage cups printers on many servers and
would like to export the necessary 'file' and 'exec' resources with
multiple tags so i
On Tue, May 12, 2009 at 2:05 AM, Ohad Levy ohadl...@gmail.com wrote:
I've been trying to reproduce your results, and got mixed results myself.
I did a similar test with puppet-test (ignoring for a second that a major
memory abuser is the file copying) i did simple compile tests.
the setup
So how about a slightly less trivial example, such as configuring a
haproxy config based on the addresses of 2 web servers?
THe puppetmaster knows the addresses of the 2 web servers; it knows
the proxy is a proxy, and the form of the config file, but I cant see
how to put all that information
OK, this is how I think I'd like to solve my sample issue in the other
thread, but I don't know if its possible now, or a future feature
request (if it makes sense.)
Sample issue: configuring haproxy on some servers, when the servers to
be included in the configuration will change.
The servers
I'm not sure if this would entirely work in your case, but I've had
luck with um...excessive...includes.
If you need 'customfacts' to be included in that class, just include
it at the top of your 'accounts' class.
In theory, this works properly but I haven't tested whether or not it
slows down
On Tue, May 12, 2009 at 6:58 AM, Ohad Levy ohadl...@gmail.com wrote:
which passenger settings did you use for the testing?
Ruby 1.8.4
PassengerRoot /usr
PassengerRuby /usr/bin/ruby1.8
PassengerMaxRequests 3000
PassengerMaxPoolSize 15
PassengerStatThrottleRate 600
Hi
The servers of all kinds are first booted, and know their role (web
server, proxy, etc) from the boot server.
The report this to puppetmaster.
Puppetmaster knows the the IP address of the web servers; it knows
the template of the haproxy config.
Currently, I don't see a way to
To explain the background behind my question
We have a number of situations where it would be great if I could have
puppet automatically maintain a symlink for a resource such as the Java JVM.
For example - we install the JDK in /usr/java so after the RPM install, the
path to the JVM is
On Tue, May 12, 2009 at 8:16 AM, Edward Bailey
eds.mailing.list.acco...@gmail.com wrote:
To explain the background behind my question
We have a number of situations where it would be great if I could have
puppet automatically maintain a symlink for a resource such as the Java JVM.
For
I think you picked a bad example :)
Java installs a symlink /usr/java/latest which points to (surprise!) the
latest version that is installed.
Or maybe this is a Java 1.6 thing in which case you might want to
accelerate your migration
Edward Bailey wrote:
To explain the background behind my
I'm trying to setup iptables management, but I'm getting the syntax
error below. I don't see how the recipe used ipt_fragment, so this is
what I tried. The error seems to say it found what it expected :-)
Thanks
Could not parse for environment production: Syntax error at '}';
expected '}' at
ipt_fragment {iptables.000-header}
ipt_fragment {iptables.100-self}
ipt_fragment {iptables.000-header: }
ipt_fragment {iptables.100-self: }
or
ipt_fragment { [ iptables.000-header, iptables.100-self ]: }
or
the error message indicates that the error is on line 4.
Thanks... pretty close for a new puppeteer
On May 12, 11:41 am, Peter Meier peter.me...@immerda.ch wrote:
ipt_fragment {iptables.000-header}
ipt_fragment {iptables.100-self}
ipt_fragment {iptables.000-header: }
ipt_fragment {iptables.100-self: }
or
ipt_fragment { [
Hello all,
I have what is certainly a stupid problem on my part. I have setup puppet in a
test environment and it's been working wonderfully. I am now in the process of
moving this to our production systems and I have rebuilt our puppetmaster
completely from scratch using the same
What I want to do is:
file { ~$user/.zshenv:
...}
but that doesn't work. I made custom facts for home dirs, so that
home_root should work, but his:
file { ${home_$user}/.zshenv:
...}
doesn't work either.
Help?
-Robin
--
They say: The first AIs will be built by the
If you have a fact called home_root you would use it like this:
file { $home_root/$user/.zshenv:
...}
Does that work for you?
On May 12, 2:15 pm, Robin Lee Powell rlpow...@digitalkingdom.org
wrote:
What I want to do is:
file { ~$user/.zshenv:
...}
but that doesn't work. I made
No, because I'm making a define so I can put a bunch of files in a
bunch of different user's home directories; that why I use $user
below.
-Robin
On Tue, May 12, 2009 at 12:04:08PM -0700, joe wrote:
If you have a fact called home_root you would use it like this:
file {
What exactly is your define attempting to do? Define the users for
which a certain file gets placed in their home dir or define the file
that gets put into all users' home dirs?
On May 12, 3:06 pm, Robin Lee Powell rlpow...@digitalkingdom.org
wrote:
No, because I'm making a define so I can put
Define a set of files such that, given a user, all those files get
placed under the user's homedir.
I suppose I could pass $home_root to the define, and have it operate
on the directory rather than the user name.
-Robin
On Tue, May 12, 2009 at 12:15:36PM -0700, joe wrote:
What exactly is
I changed a ipt_fragment to ensure absent, puppet removed the rule,
but didn't run rebuild-iptables.
Does the define below need a notify on the absent side of the case? Is
that valid? What about the ensure on the /etc/sysconfig/iptables.d
file (further below), when is it triggered?
Thanks
If home_root is being set to /home or /export/home or whatever, then
what I told you at first should work...
On May 12, 3:20 pm, Robin Lee Powell rlpow...@digitalkingdom.org
wrote:
Define a set of files such that, given a user, all those files get
placed under the user's homedir.
I suppose I
Hi
I changed a ipt_fragment to ensure absent, puppet removed the rule,
but didn't run rebuild-iptables.
Does the define below need a notify on the absent side of the case? Is
that valid? What about the ensure on the /etc/sysconfig/iptables.d
file (further below), when is it triggered?
Try this command string to obtain your custom fact for $home_user:
getent passwd | grep username | cut -f6 -d':'
Be aware though, that you may experience extreme lag if you have a
faulty authentication service (NIS, LDAP, whatever).
There's probably a better way to do it, but that will at
I have the fact.
The problem is that I want to get the user's homedir based on the
$user parameter passed to my define, and ${home_${user}} doesn't
work.
I've solved the problem by handling things a different way, but it
does seem like it shouldn't be this hard to put a file in a user's
On May 12, 2009, at 12:49 AM, neerolyte wrote:
On May 12, 3:41 pm, James Turnbull ja...@lovedthanlost.net wrote:
Have a look at
thehttp://reductivelabs.com/trac/puppet/wiki/ConfigurationReferencepage
and the various log options.
I've looked there.
I've got sensible values set for all
On May 12, 2009, at 5:35 AM, DerekW wrote:
I've been testing 0.25beta1. I understand that the default pluginsync
mount is now a special PluginMount, presumably to do with the fact
that plugins are now modular.
There was actually a special PluginMount class before; it was just in
the same
On May 12, 2009, at 12:13 PM, Stefano Harding wrote:
Hello all,
I have what is certainly a stupid problem on my part. I have setup
puppet in a test environment and it's been working wonderfully. I am
now in the process of moving this to our production systems and I
have rebuilt our
Luke Kanies wrote:
The only way to do it is to set the logdest for puppetmasterd on
startup, but I believe that has been broken in some versions because
it's used so rarely.
Ok after a lot of playing I finally found out that not all options
that work at the cli work in the config, logdest is
getent passwd username |cut... will reduce a lot of load on your ldap
servers..
my 2c
Ohad
On Wed, May 13, 2009 at 4:34 AM, Trevor Vaughan peiriann...@gmail.comwrote:
Try this command string to obtain your custom fact for $home_user:
getent passwd | grep username | cut -f6 -d':'
Be
On May 12, 2009, at 7:56 PM, neerolyte wrote:
Luke Kanies wrote:
The only way to do it is to set the logdest for puppetmasterd on
startup, but I believe that has been broken in some versions because
it's used so rarely.
Ok after a lot of playing I finally found out that not all options
36 matches
Mail list logo