summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-11 18:27:49 -0600
committerLuke Kanies <luke@madstop.com>2008-02-11 18:27:49 -0600
commit8b2fae019b31513becd002eb474e1b4803abde24 (patch)
tree92312a50927ff65a8b78fbec7fff52d3bf59eb78 /lib/puppet/parser
parentcf21ade9abf4541920b535b0e2643b30e44b067b (diff)
downloadpuppet-8b2fae019b31513becd002eb474e1b4803abde24.tar.gz
puppet-8b2fae019b31513becd002eb474e1b4803abde24.tar.xz
puppet-8b2fae019b31513becd002eb474e1b4803abde24.zip
Removing the last remaining vestiges of GRATR --
removing the bangs from 'add_vertex!' and 'add_edge!'.
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/compiler.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/compiler.rb b/lib/puppet/parser/compiler.rb
index 27860487a..26fdd3743 100644
--- a/lib/puppet/parser/compiler.rb
+++ b/lib/puppet/parser/compiler.rb
@@ -36,7 +36,7 @@ class Puppet::Parser::Compiler
# And in the resource graph. At some point, this might supercede
# the global resource table, but the table is a lot faster
# so it makes sense to maintain for now.
- @catalog.add_edge!(scope.resource, resource)
+ @catalog.add_edge(scope.resource, resource)
end
# Do we use nodes found in the code, vs. the external node sources?
@@ -184,7 +184,7 @@ class Puppet::Parser::Compiler
options[:compiler] = self
options[:parser] ||= self.parser
scope = Puppet::Parser::Scope.new(options)
- @scope_graph.add_edge!(parent, scope)
+ @scope_graph.add_edge(parent, scope)
scope
end
@@ -383,7 +383,7 @@ class Puppet::Parser::Compiler
def init_main
# Create our initial scope and a resource that will evaluate main.
@topscope = Puppet::Parser::Scope.new(:compiler => self, :parser => self.parser)
- @scope_graph.add_vertex!(@topscope)
+ @scope_graph.add_vertex(@topscope)
end
# Set up all of our internal variables.