projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no more use of Puppet::Parser::Parser
[mirror/dsa-puppet.git]
/
modules
/
puppetmaster
/
lib
/
puppet
/
parser
/
functions
/
whohosts.rb
diff --git
a/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
b/modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
index
ca0d295
..
4359285
100644
(file)
--- a/
modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
+++ b/
modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
@@
-5,8
+5,6
@@
module Puppet::Parser::Functions
ipAddrs = args[0]
yamlfile = args[1]
- parser = Puppet::Parser::Parser.new(environment)
- parser.watch_file(yamlfile)
ans = {"name" => "unknown"}
yaml = YAML.load_file(yamlfile)