Method: Puppet::Node::Environment#validation_errors
- Defined in:
- lib/puppet/node/environment.rb
#validation_errors ⇒ Array<String>
Checks the environment and settings for any conflicts
214 215 216 217 218 219 220 |
# File 'lib/puppet/node/environment.rb', line 214 def validation_errors errors = [] if conflicting_manifest_settings? errors << _("The 'disable_per_environment_manifest' setting is true, and the '%{env_name}' environment has an environment.conf manifest that conflicts with the 'default_manifest' setting.") % { env_name: name } end errors end |