Sha256: cf37126d381694b162ec90e79305e295e7203a5dd506ee720508d67011c518d9

Contents?: true

Size: 219 Bytes

Versions: 499

Compression:

Stored size: 219 Bytes

Contents

Puppet::Parser::Functions::newfunction(:fail, :arity => -1, :doc => "Fail with a parse error.") do |vals|
    vals = vals.collect { |s| s.to_s }.join(" ") if vals.is_a? Array
    raise Puppet::ParseError, vals.to_s
end

Version data entries

499 entries across 499 versions & 4 rubygems

Version Path
puppet-5.5.22 lib/puppet/parser/functions/fail.rb
puppet-5.5.22-x86-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.22-x64-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.22-universal-darwin lib/puppet/parser/functions/fail.rb
puppet-5.5.21 lib/puppet/parser/functions/fail.rb
puppet-5.5.21-x86-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.21-x64-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.21-universal-darwin lib/puppet/parser/functions/fail.rb
puppet-5.5.20 lib/puppet/parser/functions/fail.rb
puppet-5.5.20-x86-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.20-x64-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.20-universal-darwin lib/puppet/parser/functions/fail.rb
puppet-5.5.19 lib/puppet/parser/functions/fail.rb
puppet-5.5.19-x86-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.19-x64-mingw32 lib/puppet/parser/functions/fail.rb
puppet-5.5.19-universal-darwin lib/puppet/parser/functions/fail.rb
puppet-5.5.18 lib/puppet/parser/functions/fail.rb
puppet-5.5.18-x86-mingw32 lib/puppet/parser/functions/fail.rb
puppet-6.4.5 lib/puppet/parser/functions/fail.rb
puppet-5.5.18-x64-mingw32 lib/puppet/parser/functions/fail.rb