On 11-09-16 09:59 PM, Christopher Wood wrote:
> Every time I kick a client host /tmp/t1 on the puppetmaster changes to the
> fqdn of that host. As well using my puppetmaster's fqdn as the seed in a
> separate ruby script gives me a series of random values that doesn't start
> with 1,1. The "Usin
On Fri, Sep 16, 2011 at 09:04:31PM -0400, Gabriel Filion wrote:
> hello,
>
> functions in puppet are always executed on the puppet master. So in your
> case, every node gets the same value since you're always basing your
> calculation on the puppet master's fqdn.
I certainly appreciate the tip, b
hello,
functions in puppet are always executed on the puppet master. So in your
case, every node gets the same value since you're always basing your
calculation on the puppet master's fqdn.
You might want to look into transforming your function (master-side)
into a fact (client-side)
or, you co
This is using puppet 2.6.2 on Debian Squeeze.
I am attempting to use a custom function in a module to return random numbers
with the hostname (translated to a number) as the random seed. These random
numbers can be random values for hour/minute cron, to avoid the
herd-of-elephants effect when t