Class: PuppetX::Puppetlabs::Migration::MigrationChecker::SeverityProducer

Inherits:
Puppet::Pops::Validation::SeverityProducer
  • Object
show all
Defined in:
lib/puppet_x/puppetlabs/migration/migration_checker.rb

Overview

The MigrationChecker’s severity producer makes all issues have warning severity by default.

Instance Method Summary collapse

Constructor Details

#initializeSeverityProducer

Returns a new instance of SeverityProducer.



18
19
20
21
22
23
24
25
# File 'lib/puppet_x/puppetlabs/migration/migration_checker.rb', line 18

def initialize
  super(:warning)

  # TODO: TEMPLATE CODE - REMOVE BEFORE RELEASE
  # Example of configuring issues to not be a warning
  # p = self
  # p[Issues::EMPTY_RESOURCE_SPECIALIZATION] = :deprecation
end