Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793454
mastodon_sidekiq.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
mastodon_sidekiq.sls
View Options
# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-12-08
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Extra utilities
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/srv/mastodon/extra_utilities
:
file.directory
:
-
makedirs
:
True
/srv/mastodon/extra_utilities/clear-video-queue
:
file.managed
:
-
source
:
salt://roles/paas-docker/containers/files/mastodon/clear-video-queue.py
-
mode
:
755
# -------------------------------------------------------------
# Provision extra utilities
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
for
instance
in
pillar
[
'docker_containers'
][
'mastodon_sidekiq'
]
%}
provision_clear_video_queue_
{{
instance
}}
:
cmd.run
:
-
name
:
docker cp /srv/mastodon/extra_utilities/clear-video-queue
{{
instance
}}
:/usr/bin/clear-video-queue
-
require
:
-
file
:
/srv/mastodon/extra_utilities/clear-video-queue
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 21:45 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2435437
Default Alt Text
mastodon_sidekiq.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment