If you're using 2.6 you can make a pure ruby class that will look at each
variable and see if its value is a function if it is, call that function.
However, I don't know how to replace the value of the variable with what re
function returns. You can get the basic concept I'm talking about here:
On Nov 1, 2010, at 7:18 AM, Oliver Hookins wrote:
> On Oct 18, 10:22 pm, Carl Caum wrote:
>> Is there a way to run your own puppetforgerepository? We are interested
>> versioning and distributing our modules the same way we do our custom RPMs.
>> We want to use puppet-module-tool and config
Well yes, that's true. But I wanted to use an example variable that I knew all
systems would have.
On Oct 13, 2010, at 5:16 PM, Patrick wrote:
>
> On Oct 13, 2010, at 2:16 PM, Carl Caum wrote:
>
>> Hello everyone. I'm running in to trouble setting/changing environment
>> variables for exec
Take a look at mcollective. You can query your facter facts on all your
systems. You can also use puppetcommanderd, an mcollective add on, that will
schedule runs of your clients matching a filter (filter on facts or classes)
spread out over a specified time period.
On Oct 11, 2010, at 8:44 P
You could always have a script that queries the puppetmaster or whatever your
report server is. I'd just use https. Have some cgi script that grabs the
latest yaml file for the requesting host and then returns it. The requesting
script on the client can then parse it and do whatever with it. You
Personally I like to increase my chances of getting to the bar early.
If you know you're going to want to build the box again, automate it.
If you need to ensure the box looks a certain way, automate it. If it
takes the same amount of time to automate it as it does to not
automate it, autom
I think we all end up using an exec somewhere to bind to AD. I
personally use samba with LDAP and kerberos instead of Likewise, but
to each their own. What you can do is create a domain account that
only has permissions to create and destroy computer objects in a
specific OU in AD. I have
Try adding
ensure => directory
To your File[/etc] resource.
On Jan 25, 2010, at 4:25 PM, Anchi Zhang wrote:
My simple site.pp below would work.
node default { include solaris }
class solaris {
file { "/etc/motd":
source => "puppet:///files-solaris/etc/motd",
I really like this idea.
On Nov 1, 2009, at 5:12 PM, lyric wrote:
>
> Hello Puppet Friends,
>
> wouldn't it be nice to have a Puppet expert directory with profiles
> and services they offer.
>
> I want to use Puppet but I am not an administration expert, so it
> would be nice to be able to cont
exec { "foo":
command => "wget http://foo/bar.tgz";,
timeout => 0;
}
The type reference documentation describes the timeout parameter.
On Oct 14, 2009, at 5:45 AM, pinoyskull wrote:
>
> Hi,
>
> Is there a way to increase the timeout settings in puppet when it
> comes
> to downloadi
How about merge_exclusive? It shows we want to merge all known entries
in the defined dict/array, but also shows we exclusively want those
defined.
On Oct 12, 2009, at 10:58 PM, Crawford Kyle wrote:
> Carl, Nigel,
>
> Thanks for working on this. It looks great and will be a valuable
> add
I was looking at this option last nigh and perhaps I'm just dense, but
I'm not sure how it will benefit me. In theory, I know which version I
have in production/testing/dev by which subversion/git tag I have
checked out on the master. Am I missing the point? Can someone provide
an example when this
12 matches
Mail list logo