diff options
| author | Luke Kanies <luke@madstop.com> | 2008-04-08 21:21:59 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-04-08 21:21:59 -0500 |
| commit | 7774d9c443f19d44a1e2dab459fc4bfb94e75244 (patch) | |
| tree | 78287fb85c8a1a5b70617a9e153dcca311dea15d /lib/puppet/indirector/exec.rb | |
| parent | bf728d23caca4f58ae4ede1a2d477c9fc15e0bdc (diff) | |
| download | puppet-7774d9c443f19d44a1e2dab459fc4bfb94e75244.tar.gz puppet-7774d9c443f19d44a1e2dab459fc4bfb94e75244.tar.xz puppet-7774d9c443f19d44a1e2dab459fc4bfb94e75244.zip | |
Ported the rest of the indirection terminuses over to
expecting requests instead of having a random interface.
Diffstat (limited to 'lib/puppet/indirector/exec.rb')
| -rw-r--r-- | lib/puppet/indirector/exec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/indirector/exec.rb b/lib/puppet/indirector/exec.rb index 7e4ac8d18..2462e31da 100644 --- a/lib/puppet/indirector/exec.rb +++ b/lib/puppet/indirector/exec.rb @@ -3,9 +3,9 @@ require 'puppet/util' class Puppet::Indirector::Exec < Puppet::Indirector::Terminus # Look for external node definitions. - def find(name) + def find(request) # Run the command. - unless output = query(name) + unless output = query(request.key) return nil end |
