Description of problem: The npm_global_module_list file is missing under the template of Node.js applications, but the file is referred by both deplist.txt and README.md files. Version-Release number of selected component (if applicable): devenv_3430 How reproducible: always Steps to Reproduce: 1. create a Node.js application 2. Check the README.md file of Node.js cartridge https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-nodejs/README.md 3. list the contents under the app's repo ll ./<app_repo> 4. check the code in both master and stage branch in https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-nodejs/usr/template Actual results: The README.md file clearly indicates that npm_global_module_list file should be included in the template repo, but in Step 3 and Step 4, the file is missing, specifically, in Step 3, the results are: -rw-rw-r--. 1 zhe zhe 444 Jul 1 15:37 deplist.txt -rw-rw-r--. 1 zhe zhe 5235 Jul 1 15:37 index.html drwxrwxr-x. 2 zhe zhe 4096 Jul 1 15:37 node_modules -rw-rw-r--. 1 zhe zhe 642 Jul 1 15:37 package.json -rw-rw-r--. 1 zhe zhe 175 Jul 1 15:37 README.md -rwxrwxr-x. 1 zhe zhe 4770 Jul 1 15:37 server.js Expected results: There should be a npm_global_module_list file under the repo of Node.js applications' template, which is referred in both deplist.txt and README.md files. Additional info:
Is this a documentation error or should this file be in the template application?
This is a documentation issue. The file, if available, is read, but its absence should not prevent application from functioning. I will fix the documentation shortly.
It is a documentation issue, but the bits about the file's functions above are incorrect. Either way, documentation will be fixed.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/7786b8bc04b0be973e0a81cd3cc0452d81ce2583 Bug 979991 Clarify the purpose of npm_global_module_list
Tested on devenv_3711. File "npm_global_module_list" is in "versions/0.6/configuration" only, which is the same as described in webpage "http://openshift.github.io/documentation/oo_cartridge_guide.html#nodejs". So change the bug to "verified"