Hi all!
How i may use in legacy puppet (0.24.[89]) custom facts in functions?
In new documentation not good faq about this:
http://docs.reductivelabs.com/guides/plugins_in_modules.html this
documentation has information about new versions (25.5) and very old
(prior 0.24.4),
not about our 0.24.8 >
Hi all,
I read today my first book about ruby, and try modify code:
http://github.com/camptocamp/puppet-mysql
Unfortunatly, creator of this code don't replay from my e-mail (may
be, he don't have free time)
I'm stupid about paramters in provider. I add:
__
> Hi,
>
> thank you for your interest in working on puppet!
thank you for answer ;)
> 1) You need to define mrootpw as parameter on the type, so you receive
> the value from the manifest
I try:
1. Add parameter in puppet defenition in custom type
2. Add parametr in custom class
3. Add code in p
Hi all!
Please help me get understand my error:
I have problems with onlyif/unless directives. Simple test work fine,
for example:
exec { "Update ovz templates":
command => "wget -O /vz/template/cache/centos-5-i386-
default.tar.gz http://install.local/ovz/templates/centos-5-i386-default.ta
Hi John,
Thank you for answer.
> For debugging your manifests, you could try using
>
> unless => "/bin/true"
>
> or
>
> unless => "/bin/false"
>
> to take that test script out of the picture.
Script, in "command" work fine.
> Speaking of the test script, are you sure your nodes are g
r answer.
For another puppet users, who find this topic: try to use binary file
test for test with your custom scripts :))
On 15 дек, 11:12, sHaggY_caT wrote:
> Hi John,
>
> Thank you for answer.
>
> > For debugging your manifests, you could try using
>
> > unle
Hi all!
I have quation: how i may use nested variables/facts? For example, I
have variable $iface. It's variable declared in node brakets, and, use
with defenition. iface may be eth0, eth1(Linux), em0, ...
, ...
is fact:
facter | grep eth0 | grep mac
macaddress_eth0 => 54:52:00:3D:CB:40
We don'
blem. There may
> be a more elegant solution though.
>
> On 24 Dec 2009, at 09:33, sHaggY_caT wrote:
>
>
>
> > Hi all!
>
> > I have quation: how i may use nested variables/facts? For example, I
> > have variable $iface. It's variable declared in node b
Thank's, Scott :)
Happy New Year!
On 26 дек, 01:18, Scott Smith wrote:
> sHaggY_caT wrote:
> > Thank you very much for answer.
>
> > Do you may print simple working example?
>
> $ifaces = split($interfaces, ',')
>
> define do::it {
>