1

How to break dependency cycle in Puppet when including classes

view story
linux-howto

http://serverfault.com – I have the following definitions: class nginx::install{ ... } class nginx::service{ ... } class nginx::config{ ... } class nginx{ include nginx::install, nginx::service, nginx::config } class jenkins::nginx{ include nginx file{'/etc/nginx/sites-enabled/jenkins': source => ..., require => Class['nginx'], } } But when I run this, Puppet tells me that I have a cycle: err: Could not apply complete catalog: Found 1 dependency cycle: (Class[Jenkins::Nginx] => File[/etc/nginx/sites-available/jenkins] => Class[Jenkins::Nginx]) Try the '--graph' option and ope (HowTos)