Hide Forgot
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 https://github.com/openshift/origin-server/commit/ffd859ed49acf300e1bcd61324fa16595191c888 Fix bug 1004910: provide warning when processed_templates declares a non-existent file
test on devenv_3758 steps: 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 Application Options ------------------- Namespace: 111 Cartridges: jbossas-7 Gear Size: default Scaling: no 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.