Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12242814
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/webserver-content/space/hypership/www.sls b/roles/webserver-content/space/hypership/www.sls
index d67115d..dba4a72 100644
--- a/roles/webserver-content/space/hypership/www.sls
+++ b/roles/webserver-content/space/hypership/www.sls
@@ -1,68 +1,68 @@
# -------------------------------------------------------------
# Salt — Hypership
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Zed
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% if salt['node.has_web_content'](".space/hypership") %}
/var/dataroot/zed:
file.directory:
- user: deploy
# -------------------------------------------------------------
# Content
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if not salt["file.directory_exists"]("/var/dataroot/zed/content/.git") %}
zed_content:
file.directory:
- name: /var/dataroot/zed/content
- user: deploy
- mode: 755
git.latest:
- name: https://github.com/hypership/content.git
- target: /var/dataroot/zed/content
- user: deploy
{% endif %}
{% if not salt["file.directory_exists"]("/var/dataroot/zed/content/users") %}
zed_content_private:
file.directory:
- name: /var/dataroot/zed/content/users
- user: deploy
- mode: 711
git.latest:
- name: git@github.com:hypership/content_users.git
- target: /var/dataroot/zed/content/users
- user: deploy
- - identity: {{ pillar["wwwroot_identities"]["deploy-key-github-hypership-content_users"]["path"] }}
+ - identity: {{ pillar["wwwroot_identities"]["deploy-key-github-hypership-content_users"]["path"] }}
- update_head: False
{% endif %}
zed_content_rights:
file.directory:
- name: /var/dataroot/zed/content
- user: web-space-hypership-www
- recurse:
- user
- group
# -------------------------------------------------------------
# Cache
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/dataroot/zed/cache:
file.directory:
- user: web-space-hypership-www
{% for subdir in ['compiled', 'openid', 'sessions'] %}
/var/dataroot/zed/cache/{{ subdir }}:
file.directory:
- user: web-space-hypership-www
{% endfor %}
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 12, 10:36 (3 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065765
Default Alt Text
(2 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment