范例:
virtual_host:
rabbitmq_vhost.present:
- user: rabbit_user
- conf: .*
- write: .*
- read: .*
salt.states.rabbitmq_vhost.
absent
(name)¶Ensure the RabbitMQ Virtual Host is absent
User to run the command
2015.8.0 版后已移除.
salt.states.rabbitmq_vhost.
present
(name)¶Ensure the RabbitMQ VHost exists.
Initial user permission to set on the VHost, if present
2015.8.0 版后已移除.
Initial owner permission to set on the VHost, if present
2015.8.0 版后已移除.
Initial conf string to apply to the VHost and user. Defaults to .*
2015.8.0 版后已移除.
Initial write permissions to apply to the VHost and user. Defaults to .*
2015.8.0 版后已移除.
Initial read permissions to apply to the VHost and user. Defaults to .*
2015.8.0 版后已移除.
Name of the user to run the command
2015.8.0 版后已移除.