Sha256: f36da019e77e91d0efc004ef97176ab89ddd65c88f7d9a01904a182234830970

Contents?: true

Size: 329 Bytes

Versions: 515

Compression:

Stored size: 329 Bytes

Contents

class Puppet::Settings::TerminusSetting < Puppet::Settings::BaseSetting
  def munge(value)
    case value
    when '', nil
      nil
    when String
      value.intern
    when Symbol
      value
    else
      raise Puppet::Settings::ValidationError, _("Invalid terminus setting: %{value}") % { value: value }
    end
  end
end

Version data entries

515 entries across 515 versions & 2 rubygems

Version Path
puppet-7.34.0 lib/puppet/settings/terminus_setting.rb
puppet-7.34.0-x86-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.34.0-x64-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.34.0-universal-darwin lib/puppet/settings/terminus_setting.rb
puppet-7.33.0 lib/puppet/settings/terminus_setting.rb
puppet-7.33.0-x86-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.33.0-x64-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.33.0-universal-darwin lib/puppet/settings/terminus_setting.rb
puppet-7.32.1 lib/puppet/settings/terminus_setting.rb
puppet-7.32.1-x86-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.32.1-x64-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.32.1-universal-darwin lib/puppet/settings/terminus_setting.rb
puppet-7.31.0 lib/puppet/settings/terminus_setting.rb
puppet-7.31.0-x86-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.31.0-x64-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.31.0-universal-darwin lib/puppet/settings/terminus_setting.rb
puppet-7.30.0 lib/puppet/settings/terminus_setting.rb
puppet-7.30.0-x86-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.30.0-x64-mingw32 lib/puppet/settings/terminus_setting.rb
puppet-7.30.0-universal-darwin lib/puppet/settings/terminus_setting.rb