Issue #4705 has been updated by Luke Kanies.

Status changed from Needs design decision to Rejected

This happened because the packages are themselves in main, and you've set them 
to depend on main - this is a builtin loop.

To do what you want, you need to either put all of the packages in a stage 
before main, or create a stage after main to do what you want.

Whether that's really possible, I don't know. :/
----------------------------------------
Bug #4705: Found dependency cycles
http://projects.puppetlabs.com/issues/4705

Author: Mario Verbelen
Status: Rejected
Priority: Normal
Assignee: Luke Kanies
Category: parser
Target version: 
Affected version: 2.6.0
Keywords: 
Branch: 


I would like to depend all packages before main

So I dit 
    Package <| |> -> Stage[main]

    package { 'postfix': ensure => present }
    package { 'postfix-ldap': ensure => present }


    err: Could not apply complete catalog: Found dependency cycles in the 
following relationships:  Package[postfix-ldap] => Package[postfix-ldap], 
Package[postfix] => Package[postfix-ldap], Package[postfix-ldap] => 
Package[postfix], Package[postfix] => Package[postfix]; try using the '--graph' 
option and open the '.dot' files in OmniGraffle or GraphViz

I don't think this is a normal behavior in this case 

that a package depends on itself and on other packages

(puppet Package from http://packages.debian.org/squeeze/puppet)


-- 
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 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-bugs?hl=en.

Reply via email to