Github User State Module
2016.3.0. 新版功能.
This state is used to ensure presence of users in the Organization.
ensure user test is present in github:
github.present:
- name: 'Example TestUser1'
- email: example@domain.com
- username: 'gitexample'
salt.states.github.
absent
(name, profile='github', **kwargs)¶Ensure a github user is absent
ensure user test is absent in github:
github.absent:
- name: 'Example TestUser1'
- email: example@domain.com
- username: 'gitexample'
The following parameters are required:
salt.states.github.
present
(name, profile='github', **kwargs)¶Ensure a user is present
ensure user test is present in github:
github.present:
- fullname: 'Example TestUser1'
- email: 'example@domain.com'
- name: 'gitexample'
The following parameters are required: