Environment Settings Reference

This document lists all settings that can be set per environment. These changes are made through the API, the web-console or the CLI tool.

The supported settings are:

auto_deploy
Type:

bool

Default:

True

When this boolean is set to true, the orchestrator will automatically release a new version that was compiled by the orchestrator itself.

auto_full_compile
Type:

str

Default:

‘’

Periodically run a full compile following a cron-like time-to-run specification interpreted in UTC with format [sec] min hour dom month dow [year] (If only 6 values are provided, they are interpreted as min hour dom month dow year). A compile will be requested at the scheduled time. The actual compilation may have to wait in the compile queue for some time, depending on the size of the queue and the RECOMPILE_BACKOFF environment setting. This setting has no effect when server_compile is disabled.

autostart_agent_deploy_interval
Type:

str

Default:

600

The deployment interval of the autostarted agents. Can be specified as a number of seconds or as a cron-like expression. Set this to 0 to disable the automatic scheduling of deploy runs. See also: config.agent-deploy-interval

autostart_agent_deploy_splay_time
Type:

int

Default:

10

The splay time on the deployment interval of the autostarted agents. See also: config.agent-deploy-splay-time

autostart_agent_repair_interval
Type:

str

Default:

86400

The repair interval of the autostarted agents. Can be specified as a number of seconds or as a cron-like expression. Set this to 0 to disable the automatic scheduling of repair runs. See also: config.agent-repair-interval

autostart_agent_repair_splay_time
Type:

int

Default:

600

The splay time on the repair interval of the autostarted agents. See also: config.agent-repair-splay-time

autostart_on_start
Type:

bool

Default:

True

Automatically start agents when the server starts instead of only just in time.

available_versions_to_keep
Type:

int

Default:

100

The number of versions to keep stored in the database, excluding the latest released version.

environment_metrics_retention
Type:

int

Default:

336

The number of hours that environment metrics have to be retained before they are cleaned up. Default=336 hours (2 weeks). Set to 0 to disable automatic cleanups.

notification_retention
Type:

int

Default:

365

The number of days to retain notifications for

protected_environment
Type:

bool

Default:

False

When set to true, this environment cannot be cleared or deleted.

recompile_backoff
Type:

positive_float

Default:

0.1

The number of seconds to wait before the server may attempt to do a new recompile. Recompiles are triggered after facts updates for example.

resource_action_logs_retention
Type:

int

Default:

7

The number of days to retain resource-action logs

server_compile
Type:

bool

Default:

True

Allow the server to compile the configuration model.