diff options
author | John Duarte <john.duarte@puppetlabs.com> | 2014-10-24 16:38:30 -0700 |
---|---|---|
committer | John Duarte <john.duarte@puppetlabs.com> | 2014-10-24 16:38:30 -0700 |
commit | 759cbdec886bebb859d8def9323c139faf99c024 (patch) | |
tree | 59bb1476454569be8d5249eac7623c585651f024 | |
parent | cb6c7d8e49cdd392dfa55c27cf78795125163c70 (diff) | |
parent | 624ccbd22c845a042e8128d44c5299c0732e81de (diff) | |
download | puppet-stdlib-759cbdec886bebb859d8def9323c139faf99c024.tar.gz puppet-stdlib-759cbdec886bebb859d8def9323c139faf99c024.tar.bz2 |
Merge pull request #340 from cyberious/4.3.x
add require 'tempfile' to resolve a previously autorequired resource
-rw-r--r-- | lib/puppet/parser/functions/validate_augeas.rb | 2 | ||||
-rw-r--r-- | lib/puppet/parser/functions/validate_cmd.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/parser/functions/validate_augeas.rb b/lib/puppet/parser/functions/validate_augeas.rb index 154d660..4ea4fe0 100644 --- a/lib/puppet/parser/functions/validate_augeas.rb +++ b/lib/puppet/parser/functions/validate_augeas.rb @@ -1,3 +1,5 @@ +require 'tempfile' + module Puppet::Parser::Functions newfunction(:validate_augeas, :doc => <<-'ENDHEREDOC') do |args| Perform validation of a string using an Augeas lens diff --git a/lib/puppet/parser/functions/validate_cmd.rb b/lib/puppet/parser/functions/validate_cmd.rb index 2ebe91c..652aa55 100644 --- a/lib/puppet/parser/functions/validate_cmd.rb +++ b/lib/puppet/parser/functions/validate_cmd.rb @@ -1,4 +1,5 @@ require 'puppet/util/execution' +require 'tempfile' module Puppet::Parser::Functions newfunction(:validate_cmd, :doc => <<-'ENDHEREDOC') do |args| |