Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F13142877
api.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
api.sls
View Options
# -------------------------------------------------------------
# Salt — Provision api.wolfplex.org website
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Wolfplex
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Data store
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/dataroot/wolfplex/secrets.json
:
file.managed
:
-
source
:
salt://roles/webserver-content/org/wolfplex/files/secrets.json.jinja2
-
mode
:
400
-
user
:
web-org-wolfplex-www
-
group
:
web
-
makedirs
:
True
-
template
:
jinja
-
show_changes
:
False
-
context
:
secrets
:
etherpad.api.key
:
{{
salt
[
'credentials.get_token'
](
"nasqueron/etherpad/api"
)
}}
# -------------------------------------------------------------
# Base part
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/wwwroot/wolfplex.org/api
:
file.recurse
:
-
source
:
salt://wwwroot/wolfplex.org/api
-
exclude_pat
:
E@.git
-
include_empty
:
True
-
clean
:
False
-
dir_mode
:
755
-
file_mode
:
644
-
user
:
web-org-wolfplex-www
-
group
:
web
# -------------------------------------------------------------
# Deployment
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
wolfplex_api_dependencies
:
cmd.run
:
-
name
:
composer install
-
runas
:
web-org-wolfplex-www
-
cwd
:
/var/wwwroot/wolfplex.org/api
-
creates
:
/var/wwwroot/wolfplex.org/api/vendor
wolfplex_api_kibaone_accents
:
cmd.run
:
-
name
:
make
-
runas
:
web-org-wolfplex-www
-
cwd
:
/var/wwwroot/wolfplex.org/api/design/kibaone/accents
-
creates
:
/var/wwwroot/wolfplex.org/api/design/kibaone/accents/index.json
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 21, 16:21 (23 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3164474
Default Alt Text
api.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment