Class: PuppetX::Puppetlabs::Migration::MigrationChecker::SeverityProducer
- Inherits:
-
Puppet::Pops::Validation::SeverityProducer
- Object
- Puppet::Pops::Validation::SeverityProducer
- PuppetX::Puppetlabs::Migration::MigrationChecker::SeverityProducer
- 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
-
#initialize ⇒ SeverityProducer
constructor
A new instance of SeverityProducer.
Constructor Details
#initialize ⇒ SeverityProducer
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 |