diff options
Diffstat (limited to 'modules/stored_config/lib')
-rw-r--r-- | modules/stored_config/lib/puppet/parser/functions/get_fact.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/stored_config/lib/puppet/parser/functions/get_fact.rb b/modules/stored_config/lib/puppet/parser/functions/get_fact.rb index 1aae8b5a..8acdb2d5 100644 --- a/modules/stored_config/lib/puppet/parser/functions/get_fact.rb +++ b/modules/stored_config/lib/puppet/parser/functions/get_fact.rb @@ -7,7 +7,8 @@ module Puppet::Parser::Functions newfunction(:get_fact, :type => :rvalue) do |args| node = args[0] fact = args[1] - + # TODO use + # Puppet::Node::Facts.indirection.find(Puppet[:certname]) Puppet::Rails.connect() return Puppet::Rails::FactValue.find( :first, :joins => [ :host, :fact_name ], |