Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56350644
add_user_root.sh.jinja
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
add_user_root.sh.jinja
View Options
#!/bin/sh
# -------------------------------------------------------------
# Nasqueron :: PaaS Docker :: RabbitMQ root user setup
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/paas-docker/containers/files/rabbitmq/add_user_root.sh.jinja
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# RabbitMQ startup needs a dozen of seconds
sleep 20
docker exec
{{
instance
}}
rabbitmqctl delete_user guest
docker exec
{{
instance
}}
rabbitmqctl add_user root
{{
password
|
yaml_squote
}}
docker exec
{{
instance
}}
rabbitmqctl set_user_tags root administrator
docker exec
{{
instance
}}
rabbitmqctl set_permissions --vhost / root '.*' '.*' '.*'
touch /srv/rabbitmq/
{{
instance
}}
/.auth-configured
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Nov 7, 07:54 (1 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4158664
Default Alt Text
add_user_root.sh.jinja (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment