Issue #19718 has been updated by Mike Power.

Priority changed from Normal to Urgent
Affected Puppet version set to 3.1.1

Changing the priority due to the fact I encountered this bug again.  With a 
completely different set of code.  Also I found it also affects 3.1.1

----------------------------------------
Bug #19718: Puppet seems to create backwards dependency resulting in cyclic 
dependencies
https://projects.puppetlabs.com/issues/19718#change-88977

* Author: Mike Power
* Status: Unreviewed
* Priority: Urgent
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: dependency
cycle
* Branch: 
----------------------------------------
I have used someone's archive plugin to
1) download apache
2) ensure that webapps is present
3) download jenkins into webapps


naturally jenkins depends on webapps
webapps is made to depend on apache
apache depends are created by the archive plugin
archive plugin makes apache depend on the curl package.

That all makes sense.  However puppet picks up a really odd dependency that 
says package curl depends on jenkins.  I can't find where in the archive plugin 
this might be done.  It does not look like I did it.  So it seems like puppet.  
Let me know if I am wrong.

I created a sample project at:
https://github.com/dodtsair/puppet-cyclicdependency

It is a bit dodgy.  On my proprietary project if I add a package { "curl":} 
right next to the archive::download call.  Just sitting next to each other.  
The cycle goes away.  


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to