- From: Andrea Campi <
>
- To: Bryan McLellan <
>
- Cc:
- Subject: [chef-dev] Re: CHEF-2880 debian policy and service provider
- Date: Thu, 9 Feb 2012 09:11:38 +0100
On Wed, Feb 8, 2012 at 10:12 PM, Bryan McLellan
<
>
wrote:
>
The argument is that, if you ask Chef to do something and it cannot,
>
it should fail. Or you shouldn't ask it to try. But we usually trust
>
the underlying system, if there is a bug, perhaps it is in invoke-rc.d
>
lying to us unless we use --disclose-deny. In any case, it isn't as if
>
we're going to start running ps after a service resource action to
>
verify if it worked or not.
Yes :)
Beyond this specific instance, I think the principle you outlined is
sane: Chef shouldn't try to do what you mean, as more often than not
it would violate POLA.
A warning can and will be ignored, and may lead to unexpected consequences.
A failure on the other hand requires the user to pay attention and
either fix the underlying systems, or adapt the cookbook.
Andrea
Archive powered by MHonArc 2.6.16.