def resolve_CONFIGS(): """lazy function to resolve the CONFIGS so that it doesn't have to evaluate at module load time. Note that it also returns the CONFIGS so that it can be used in other, module loadtime, functions. :returns: CONFIGS variable :rtype: `:class:templating.OSConfigRenderer` """ global CONFIGS if CONFIGS is None: CONFIGS = ncc_utils.register_configs() return CONFIGS
def resume(args): """Resume the Ceilometer services. @raises Exception should the service fail to start.""" utils.resume_unit_helper(utils.register_configs())
def pause(args): """Pause the Ceilometer services. @raises Exception should the service fail to stop. """ utils.pause_unit_helper(utils.register_configs())