On Tuesday, March 3, 2015 at 1:35:28 PM UTC-6, Stefan Schulte wrote:
>
>  Hello
>
> On 02.03.2015 22:21, John Bollinger wrote:
>  
>
> *Disadvantages to symlinks autorequiring their targets*:
>
>    1. Many unneeded resource relationships are generated. 
>    2. Under some circumstances, Puppet will needlessly create 
>    relationship cycles. 
>    3. Although the autorequirement could be overridden, it would be 
>    impossible to model the usual true state of affairs, that the relative 
>    order of applying link and target *does not matter*.
>     
>
>   
> maybe I am missing something here but
>
> a) a resource relationship that is autorequired can be overwritten with 
> explicit requires (at least last time I checked). So while dependency 
> cycles can occur, you are likely to resolve them with some explicit 
> requires)
>


Known, acknowledged, and covered in the discussion (even in the quoted 
text).  Yes you *can* override an autorequirement, but if you ever should 
need to do so -- indeed, if it is ever *valid* to do so -- then the 
autorequirement is in error.  It shouldn't be automatic if there's any 
reasonable chance that it's wrong or even just unneeded.

 

>
> b) a file resource (symlink) already autorequires its target since puppet 
> 2.7.10 (https://projects.puppetlabs.com/issues/5421)
>
>

What a shame.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/7196e886-e403-487b-84f0-bc04a786daf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to