Sha256: dc0625c1fa54b65997abc27c96922324cb9efe1a09868e66e8bdf15854e8d6f8

Contents?: true

Size: 554 Bytes

Versions: 597

Compression:

Stored size: 554 Bytes

Contents

class one {
  class test($param = { key1 => 'default 1', key2 => 'default 2' }) {
    notify { "${param[key1]}, ${param[key2]}": }
  }

  class lopts_test($hash = { a => 'default A', b => 'default B', c => 'default C', m => {} }) {
    notify { "${hash[a]}, ${hash[b]}, ${hash[c]}, ${hash[m]['ma']}, ${hash[m]['mb']}, ${hash[m]['mc']}": }
  }

  class loptsm_test($hash = { a => 'default A', b => 'default B', c => 'default C', m => {} }) {
    notify { "${hash[a]}, ${hash[b]}, ${hash[c]}, ${hash[m]['ma']}, ${hash[m]['mb']}, ${hash[m]['mc']}": }
  }
}

Version data entries

597 entries across 597 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.0-x86-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.0-x64-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.0-universal-darwin spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.4.0 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.4.0-x86-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.4.0-x64-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.4.0-universal-darwin spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.28.0 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.28.0-x86-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.28.0-x64-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.28.0-universal-darwin spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.1 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.1-x86-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.1-x64-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-8.3.1-universal-darwin spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.27.0 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.27.0-x86-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.27.0-x64-mingw32 spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
puppet-7.27.0-universal-darwin spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp