Puppet: System Administration Automated

Support

Ticket #966 (closed defect: duplicate)

Opened 1 year ago

Last modified 1 year ago

Multiple Class definitons not detected

Reported by: mmcgrath Assigned to: community
Priority: normal Milestone:
Component: library Version: 0.24.0
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

Up until 0.24 we had "class proxy" defined multiple times in our manifests. Infact one class actually included the other proxy so it would have created:

class proxy {

include proxy

}

Somehow this was working (just dumb luck I guess) until 0.24. Perhaps there should be a check to make sure that classes aren't defined multiple times or at least a better error message here:

err: Could not apply complete catalog: Found cycles in the following relationships: Class[proxy] => Class[proxy]

I'm not sure if this error was from having multiple proxy classes defined or if it was because a class included itself.

Change History

12/19/07 20:48:13 changed by luke

  • status changed from new to closed.
  • resolution set to duplicate.

This is basically a dup of #857, I think.