diff options
| author | Rick Bradley <rick@rickbradley.com> | 2007-10-06 13:25:12 -0500 |
|---|---|---|
| committer | Rick Bradley <rick@rickbradley.com> | 2007-10-06 13:25:12 -0500 |
| commit | 42b98562b5237797e1a51fdcdd57aa3c6825b404 (patch) | |
| tree | 0f5cc25fb42b348f3c851c988f3b86979871794a /lib/puppet/node | |
| parent | 1befcc46926a27ec5f799d6ad8caa59c3b808c4c (diff) | |
| parent | cdaad286b1fe5fc3c1ab363c890bb6a8a752c9b5 (diff) | |
Merge branch 'master' of git://reductivelabs.com/puppet into routing
Diffstat (limited to 'lib/puppet/node')
| -rw-r--r-- | lib/puppet/node/configuration.rb | 2 | ||||
| -rwxr-xr-x | lib/puppet/node/facts.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/node/configuration.rb b/lib/puppet/node/configuration.rb index 3571eecda..084bdf880 100644 --- a/lib/puppet/node/configuration.rb +++ b/lib/puppet/node/configuration.rb @@ -7,7 +7,7 @@ require 'puppet/external/gratr/digraph' # and the relationships between them. class Puppet::Node::Configuration < Puppet::PGraph extend Puppet::Indirector - indirects :configuration + indirects :configuration, :terminus_class => :code # The host name this is a configuration for. attr_accessor :name diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb index a2e6d9c04..2da6c488e 100755 --- a/lib/puppet/node/facts.rb +++ b/lib/puppet/node/facts.rb @@ -9,7 +9,7 @@ class Puppet::Node::Facts extend Puppet::Indirector # Use the node source as the indirection terminus. - indirects :facts + indirects :facts, :terminus_class => :code attr_accessor :name, :values |
