On 09.12.2009 09:25, David Schmitt wrote:
>
> If you can detect from the facts that an erreneous situation is
> ocurring, you could change the environment at the node level or in an
> external node script.
>
>
> Regards, DavidS
>
You mean something like
node problem
{
if (condition)
{
}else
{
#normal stuff
}
}
On 09.12.2009 15:56, jcbollinger wrote:
> Or, if you can know from the facts presented (or otherwise) what the
> correct provider is, but you can't rely on Puppet to autodetect it
> correctly, then you can specify the provider explicitly. Resource
> default parameters are good for doing that. That removes the need to
> perform multiple runs.
>
> Note also that the above is a general principle of Puppet; it is not
> restricted to this particular scenario.
>
My problem case is on Ubuntu sytem where lsb-release isn't installed as
such the system is detected as debian.
I don't want any debian specific stuff going on a ubuntu system.
Thank you for your answers,
Silviu
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.