Bug #3900
open
Class removed because invalid syntax validation
Added by Andrei Burd almost 11 years ago.
Updated about 8 years ago.
Category:
Puppet integration
|
Description
Hi!
I recently made the following change in the manifest:
nginx::server { 'repo':
listen_port => '7897',
- sname => "repo",
+ sname => "repo repo-${downcase(::location)}.rvzr.net",
docroot => '/var/repo'
}
That lead to deleting the class from the class as as I understood because of validation problems, but puppet applied everything ok.
and because of Bug #2394 it did delete class from one of the hosts that lead to produstion issues.
- Category set to Puppet integration
- Translation missing: en.field_release deleted (
1)
- Related to Feature #7086: Puppet modules being skipped or failed to import should be reported or noticed by foreman. added
- Has duplicate Bug #9052: Foreman/foreman-proxy don't report classes skipped due to syntax error during import from Puppet. added
- Has duplicate Feature #11393: Class importer should present useful errors added
- Related to Bug #11661: Puppet importer class should return a warning when a class is defined twice added
- Related to Feature #15095: Add Puppet server environment_classes API support added
- Related to Bug #2289: smart-proxy should warn when it cannot read some puppet module file or directory added
#15095 provides a smart proxy API with the error information, however #7086 should probably be implemented first to make use of it.
Implementing this may need some memorising of which class was imported from where, so when a syntax error occurs it can skip classes originally imported from the file with the error.
Also available in: Atom
PDF