Sha256: e80ff5a507fa8a959d9c7154de35b07682c1ede65891594c0c2ebf211aaf640d

Contents?: true

Size: 213 Bytes

Versions: 10

Compression:

Stored size: 213 Bytes

Contents

Puppet::Parser::Functions::newfunction(:fail, :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

10 entries across 10 versions & 1 rubygems

Version Path
puppet-0.25.5 lib/puppet/parser/functions/fail.rb
puppet-0.25.4 lib/puppet/parser/functions/fail.rb
puppet-0.25.3 lib/puppet/parser/functions/fail.rb
puppet-0.24.9 lib/puppet/parser/functions/fail.rb
puppet-0.25.2 lib/puppet/parser/functions/fail.rb
puppet-0.25.1 lib/puppet/parser/functions/fail.rb
puppet-0.25.0 lib/puppet/parser/functions/fail.rb
puppet-0.24.6 lib/puppet/parser/functions/fail.rb
puppet-0.24.7 lib/puppet/parser/functions/fail.rb
puppet-0.24.8 lib/puppet/parser/functions/fail.rb