Sha256: a98a533b0527a870b3e7636e5f55cc9ae87b14dd16aba64a05ac7422e883aacf
Contents?: true
Size: 439 Bytes
Versions: 15
Compression:
Stored size: 439 Bytes
Contents
require 'puppet/pops' require File.join(File.dirname(__FILE__), '/../factory_rspec_helper') module ParserRspecHelper include FactoryRspecHelper def with_app_management(flag) Puppet[:app_management] = flag end def parse(code) parser = Puppet::Pops::Parser::Parser.new() parser.parse_string(code) end def parse_epp(code) parser = Puppet::Pops::Parser::EppParser.new() parser.parse_string(code) end end
Version data entries
15 entries across 15 versions & 1 rubygems