Merge pull request #340 from cyberious/4.3.x

add require 'tempfile' to resolve a previously autorequired resource
This commit is contained in:
John Duarte 2014-10-24 16:38:30 -07:00
commit 759cbdec88
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,5 @@
require 'tempfile'
module Puppet::Parser::Functions module Puppet::Parser::Functions
newfunction(:validate_augeas, :doc => <<-'ENDHEREDOC') do |args| newfunction(:validate_augeas, :doc => <<-'ENDHEREDOC') do |args|
Perform validation of a string using an Augeas lens Perform validation of a string using an Augeas lens

View file

@ -1,4 +1,5 @@
require 'puppet/util/execution' require 'puppet/util/execution'
require 'tempfile'
module Puppet::Parser::Functions module Puppet::Parser::Functions
newfunction(:validate_cmd, :doc => <<-'ENDHEREDOC') do |args| newfunction(:validate_cmd, :doc => <<-'ENDHEREDOC') do |args|