Signed-off-by: Luke Kanies <[email protected]>
---
lib/puppet/simple_graph.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/simple_graph.rb b/lib/puppet/simple_graph.rb
index 34db59e..5e8f5cd 100644
--- a/lib/puppet/simple_graph.rb
+++ b/lib/puppet/simple_graph.rb
@@ -209,7 +209,7 @@ class Puppet::SimpleGraph
# If we have any vertices left with non-zero in-degrees, then we've
found a cycle.
if cycles = degree.find_all { |vertex, edges| edges.length > 0 } and
cycles.length > 0
message = cycles.collect { |vertex, edges| edges.collect { |e|
e.to_s }.join(", ") }.join(", ")
- raise Puppet::Error, "Found dependency cycles in the following
relationships: %s" % message
+ raise Puppet::Error, "Found dependency cycles in the following
relationships: %s; try using the '--graph' option and open the '.dot' files in
OmniGraffle or GraphViz" % message
end
return result
--
1.6.1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---