Browse code

Merge "Add a note on default values of globals"

Jenkins authored on 2015/03/27 07:54:11
Showing 1 changed files
... ...
@@ -113,6 +113,11 @@ directory. Inside this directory there can be 2 files.
113 113
   services using ``run_process`` as it only works with enabled
114 114
   services.
115 115
 
116
+  Be careful to allow users to override global-variables for
117
+  customizing their environment.  Usually it is best to provide a
118
+  default value only if the variable is unset or empty; e.g. in bash
119
+  syntax ``FOO=${FOO:-default}``.
120
+
116 121
 - ``plugin.sh`` - the actual plugin. It will be executed by devstack
117 122
   during it's run. The run order will be done in the registration
118 123
   order for these plugins, and will occur immediately after all in