Merge pull request #340 from cyberious/4.3.x
add require 'tempfile' to resolve a previously autorequired resource
This commit is contained in:
commit
759cbdec88
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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|
|
||||||
|
|
Loading…
Reference in a new issue