Puppet Function: dynatrace_file_exists_param
- Defined in:
- lib/puppet/parser/functions/dynatrace_functions.rb
- Function type:
- Ruby 3.x API
Overview
126 127 128 129 130 131 132 |
# File 'lib/puppet/parser/functions/dynatrace_functions.rb', line 126 newfunction(:dynatrace_file_exists_param, :type => :rvalue) do |args| if File.exists?(args[0]) || File.symlink?(args[0]) return 1 else return 0 end end |