salt.states.pagerduty_user

Manage PagerDuty users.

Example


ensure bruce test user 1:
pagerduty.user_present:
salt.states.pagerduty_user.absent(profile='pagerduty', subdomain=None, api_key=None, **kwargs)

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

salt.states.pagerduty_user.present(profile='pagerduty', subdomain=None, api_key=None, **kwargs)

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