pagerduty_user

Manage PagerDuty users.

Example


ensure bruce test user 1:
pagerduty.user_present:
saltext.pagerduty.states.pagerduty_user.__virtual__()[source]

Only load if the pygerduty module is available in __salt__

saltext.pagerduty.states.pagerduty_user.present(profile='pagerduty', subdomain=None, api_key=None, **kwargs)[source]

Ensure pagerduty user exists. Arguments match those supported by https://developer.pagerduty.com/documentation/rest/users/create.

saltext.pagerduty.states.pagerduty_user.absent(profile='pagerduty', subdomain=None, api_key=None, **kwargs)[source]

Ensure pagerduty user does not exist. Name can be pagerduty id, email address, or user name.