Sha256: 4ea1bfbf004e189d6605fb2333bb28325df49addac179bdcab3c1c05c69837de

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

Puppet::Functions.create_function(:'environment::data') do
  def data()
    { 'a' => 'env_a',
      'c' => 'env_c',
      'd' => { 'k1' => 'env_d1', 'k2' => 'env_d2', 'k3' => 'env_d3' },
      'e' => { 'k1' => 'env_e1', 'k3' => 'env_e3' },
      'f' => { 'k1' => { 's1' => 'env_f11', 's2' => 'env_f12' },  'k2' => { 's1' => 'env_f21', 's3' => 'env_f23' }},
      'n' => nil
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-4.0.0.rc1 spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
puppet-4.0.0.rc1-x86-mingw32 spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
puppet-4.0.0.rc1-x64-mingw32 spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb