Red Hat Bugzilla – Bug 1004910
Non-existent ERB files declared in processed templates result in empty result files
Last modified: 2015-05-14 19:27:53 EDT
If managed_files.yml declares a non-existent ERB file in its processed_templates section, an empty result file is created anyway. Instead, we should warn the user (targeting the cart developer during the development phase of a cartridge), and not create the result file.
Commit pushed to master at https://github.com/openshift/origin-server
Fix bug 1004910: provide warning when processed_templates declares a non-existent file
test on devenv_3758
1. ssh into instance and declares a non-existent ERB file in its processed_templates section in managed_files.yml.
2. create an app via CLI
[root@Daphne test]# rhc app create j7 jbossas-7
Gear Size: default
Creating application 'j7' ... done
File declared in processed_templates does not exist and will not be rendered: /var/lib/openshift/522d81312b0e83efbc000001/jbossas/metadata/jenkins_artifacts_globaaa.erbadded manifest
Artifacts deployed: ./ROOT.war
Waiting for your DNS name to be available ... done
move bug to verified.