I forgot to add, I need some resources applied in this case so fail 
won't be enough because it fails before applying any resources.

example: in the case where lsb-release isn't installed on a 
$operatingsystem == "Debian" system I would like to install lsb-realease 
and then fail or restart just to be sure I'm not actually on a Ubuntu system

Another example would be augeas, where, even if in a run augeas would be 
installed, puppet would fail because of missing augeas provider.


Silviu
PS sorry for spamming the list :">


On 07.12.2009 21:31, Silviu Paragina wrote:
> Is this possible?
>
> There are some cases when you really require this. Some are related to
> providers which don't load unless some packages are installed (see
> augeas, the recent post about cron).
>
> The biggest problem where I need to do this is when lsb-release isn't
> installed on a Ubuntu system and as a result the system is detected as
> debian, which can seriously damage the system.
>
>
> 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.
>
>
>    

--

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.


Reply via email to