Sha256: de80f1772bc70578a3767805e9c5658020593ae7099f47d0c585d1f5706e7144

Contents?: true

Size: 177 Bytes

Versions: 24

Compression:

Stored size: 177 Bytes

Contents

module PuppetSpec::Compiler
  def compile_to_catalog(string, node = Puppet::Node.new('foonode'))
    Puppet[:code] = string
    Puppet::Parser::Compiler.compile(node)
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
puppet-3.2.4 spec/lib/puppet_spec/compiler.rb
puppet-3.2.3 spec/lib/puppet_spec/compiler.rb
puppet-3.2.3.rc1 spec/lib/puppet_spec/compiler.rb
puppet-3.2.2 spec/lib/puppet_spec/compiler.rb
puppet-3.2.1 spec/lib/puppet_spec/compiler.rb
puppet-3.2.1.rc1 spec/lib/puppet_spec/compiler.rb
puppet-3.2.0.rc2 spec/lib/puppet_spec/compiler.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/spec/lib/puppet_spec/compiler.rb
puppet-3.2.0.rc1 spec/lib/puppet_spec/compiler.rb
puppet-3.1.1 spec/lib/puppet_spec/compiler.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/spec/lib/puppet_spec/compiler.rb
puppet-3.1.0 spec/lib/puppet_spec/compiler.rb
puppet-3.1.0.rc2 spec/lib/puppet_spec/compiler.rb
puppet-3.0.2 spec/lib/puppet_spec/compiler.rb
puppet-3.0.2.rc3 spec/lib/puppet_spec/compiler.rb
puppet-3.0.2.rc2 spec/lib/puppet_spec/compiler.rb
puppet-3.0.2.rc1 spec/lib/puppet_spec/compiler.rb
puppet-3.0.1 spec/lib/puppet_spec/compiler.rb
puppet-3.0.1.rc1 spec/lib/puppet_spec/compiler.rb
puppet-3.0.0 spec/lib/puppet_spec/compiler.rb