Hey there, On 19/04/15 05:41 AM, Danny Roberts wrote: > I am trying to use the jfryman-nginx module (Code is > here: > https://github.com/kemra102/puppet-gitlab/blob/master/manifests/webserver.pp) > > However when running the module this code is part of it spits out these > errors: > > Error: Duplicate declaration: > Concat::Fragment[0024e4ac0b2015c6fe48cb277f2f1f98] is already declared > in file /root/modules/nginx/manifests/resource/location.pp:359; cannot > redeclare at /root/modules/nginx/manifests/resource/location.pp:359 on > node gitlab.thefallenphoenix.net > Error: Duplicate declaration: > Concat::Fragment[0024e4ac0b2015c6fe48cb277f2f1f98] is already declared > in file /root/modules/nginx/manifests/resource/location.pp:359; cannot > redeclare at /root/modules/nginx/manifests/resource/location.pp:359 on > node gitlab.thefallenphoenix.net > > Now unfortunately I cannot unravel the complexities of the nginx module > so cannot determine exactly what is duplicated that shouldn't be. Can > anyone provide any insight?
those errors are some of the worst to debug since the output is most useless.. but not completely so! The output indicates that two diffrent calls to nginx::resource::location are using the same name for concat::fragment. So you need to inspect what's happening with the calls to nginx::resource::location and figure out why the double usage of name happens. The tricky part is that this might be called automatically by other parts of the module (I haven't looked at the module's manifests) That's unfortunately the best I can help you with for now. -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/553669FB.90204%40lelutin.ca. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature