Remediate Drift
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Remediate Drift

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Remediate Drift

Checks configuration status and if drifted, triggers a remediation job in Otter.

Script usage:

Otter::Remediate-Drift(
	[Credentials: <text>],
	[Server: <text>],
	[Role: <text>],
	[WaitForCompletion: <true/false>],
	[Host: <text>],
	[ApiKey: <SecureString>]
);

Arguments:

NameFormatScript UsageUsage Notes
Credentials
text
Credentials
Server name
text
Server
Role name
text
Role
Wait until remediated
true/false
WaitForCompletion
Otter server URL
text
Host
API key
SecureString
ApiKey

Note: Either a server name or role name is required, but not both. If both values are entered, role name will be ignored.

Example:

# triggers Otter to remediate drift for hdars web server roles
Otter::Remediate-Drift
(
    Credentials: ProductionOtter,
    Role: hdars-web-1k
);

Was this article helpful?

ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses