citadel.nodes.environment module¶
-
class
citadel.nodes.environment.Environment(yml, path)[source]¶ Synopsis: Define environment variables. Requirements: None Platform: Any Usage
1 2 3
environment: key: value PATH: /usr/bin
Converts all the keys and values into equivalent bash statements that assign and export the variables, thus making them world-readable for the process and all its children (which is standard bash behaviour).
The above example would get translated into:
1 2
export key=value export PATH=/usr/bin