Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12243016
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
13 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/pillar/webserver/sites.sls b/pillar/paas/alkane/web-001/main.sls
similarity index 63%
copy from pillar/webserver/sites.sls
copy to pillar/paas/alkane/web-001/main.sls
index 4378145..764c5a4 100644
--- a/pillar/webserver/sites.sls
+++ b/pillar/paas/alkane/web-001/main.sls
@@ -1,214 +1,135 @@
# -------------------------------------------------------------
-# Salt — Sites to provision on the legacy web server
+# Salt — PaaS Alkane :: PHP and static sites [production]
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
web_aliases:
services:
- &db-B 172.27.27.9
# -------------------------------------------------------------
# Domains we deploy
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_domains:
#
# Directly managed by Nasqueron
#
nasqueron:
- nasqueron.org
- ook.space
#
# Nasqueron members
#
nasqueron_members:
- dereckson.be
- hypership.space
#
# Projects ICT is managed by Nasqueron
#
espacewin:
- espace-win.org
wolfplex:
- wolfplex.org
# -------------------------------------------------------------
# Static sites
#
# Sites to deploy from the staging repository
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_static_sites:
dereckson.be:
- assets
nasqueron.org:
- www
- assets
- docker
- ftp
- launch
- packages
- trustspace
wolfplex.org:
- www
- assets
# -------------------------------------------------------------
# PHP sites
#
# Username must be unique and use max 31 characters.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
php_fpm_instances:
# PHP current version, generally installed as package/port
prod:
command: /usr/local/sbin/php-fpm
web_php_sites:
# Nasqueron members
- mediawiki.dereckson.be:
- domain: dereckson.be
- subdomain: mediawiki
- user: web-be-dereckson-mw
- php-fpm: prod
-
www.dereckson.be:
domain: dereckson.be
subdomain: www
user: web-be-dereckson-www
source: wwwroot/dereckson.be/www
target: /var/wwwroot/dereckson.be/www
php-fpm: prod
capabilities:
- wordpress
- www51.dereckson.be:
- domain: dereckson.be
- subdomain: www51
- user: web-be-dereckson-www51
- php-fpm: prod
-
# Directly managed by Nasqueron
api.nasqueron.org:
domain: nasqueron.org
subdomain: api
user: web-org-nasqueron-api-serverslog
php-fpm: prod
env:
SERVERS_LOG_FILE: /srv/api/data/servers-log-all.json
wikis.nasqueron.org:
domain: nasqueron.org
subdomain: wikis
user: mediawiki
php-fpm: prod
skipCreateUser: True
env:
MEDIAWIKI_ENTRY_POINT: /srv/mediawiki/index.php
DB_HOST: *db-B
DB_USER: saas-mediawiki
# Espace Win
www.espace-win.org:
domain: espace-win.org
subdomain: www
user: web-org-espacewin-www
source: wwwroot/espace-win.org/www
target: /var/wwwroot/espace-win.org/www
php-fpm: prod
- www51.espace-win.org:
- domain: espace-win.org
- subdomain: www51
- user: web-org-espacewin-www51
- php-fpm: prod
-
# Wolfplex Hackerspace
www.wolfplex.org:
domain: wolfplex.org
subdomain: www
user: web-org-wolfplex-www
php-fpm: prod
env:
DATASTORE: /var/dataroot/wolfplex
CREDENTIAL_PATH_DATASOURCES_SECURITYDATA: /var/dataroot/wolfplex/secrets.json
# Zed - HyperShip
hypership.space:
domain: hypership.space
subdomain: www
user: web-space-hypership-www
php-fpm: prod
env:
CACHE_DIR: /var/cache/zed/hypership.space
CONTENT_DIR: /srv/zed/content
-
-# -------------------------------------------------------------
-# States
-#
-# Sites with states documenting how to build them
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-web_content_sls:
- #
- # Eglide
- #
- shellserver:
- # Directly managed by Eglide project
- - .org/eglide
-
- #
- # Nasqueron servers
- #
- mastodon:
- - .org/nasqueron/social
-
- webserver-legacy:
- # Nasqueron members
- - .be/dereckson
-
- # Projects hosted
- - .space/hypership
-
- # Directly managed by Nasqueron
- - .org/nasqueron/api
- - .org/nasqueron/autoconfig
- - .org/nasqueron/daeghrefn
- - .org/nasqueron/docs
- - .org/nasqueron/infra
- - .org/nasqueron/labs
- - .org/nasqueron/rain
-
- # Wolfplex Hackerspace
- - .org/wolfplex/api
- - .org/wolfplex/www
-
-# -------------------------------------------------------------
-# Sites deployed through Jenkins CD
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-web_content_jenkins_cd:
- webserver-legacy:
- - api
- - assets
- - autoconfig
- - docker
- - docs
- - launch
- - www
-
-# -------------------------------------------------------------
-# Tweaks
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-web_autochmod:
- - /var/wwwroot/dereckson.be/www
diff --git a/pillar/paas/alkane/windriver/main.sls b/pillar/paas/alkane/windriver/main.sls
new file mode 100644
index 0000000..c1771e3
--- /dev/null
+++ b/pillar/paas/alkane/windriver/main.sls
@@ -0,0 +1,86 @@
+# -------------------------------------------------------------
+# Salt — PaaS Alkane :: PHP and static sites [development]
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+web_aliases:
+ services:
+ - &db-B 172.27.27.9
+
+# -------------------------------------------------------------
+# Domains we deploy
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+web_domains:
+
+ #
+ # Directly managed by Nasqueron
+ #
+
+ nasqueron:
+ - nasqueron.org
+ - ook.space
+
+ #
+ # Nasqueron members
+ #
+
+ nasqueron_members:
+ - dereckson.be
+ - hypership.space
+
+ #
+ # Projects ICT is managed by Nasqueron
+ #
+
+ espacewin:
+ - espace-win.org
+
+ wolfplex:
+ - wolfplex.org
+
+# -------------------------------------------------------------
+# Static sites
+#
+# Sites to deploy from the staging repository
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+web_static_sites:
+ nasqueron.org:
+ - docker51
+ - rain51
+ - www51
+
+# -------------------------------------------------------------
+# PHP sites
+#
+# Username must be unique and use max 31 characters.
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+php_fpm_instances:
+ # PHP current version, generally installed as package/port
+ prod:
+ command: /usr/local/sbin/php-fpm
+
+web_php_sites:
+ # Nasqueron members
+ mediawiki.dereckson.be:
+ domain: dereckson.be
+ subdomain: mediawiki
+ user: web-be-dereckson-mw
+ php-fpm: prod
+
+ www51.dereckson.be:
+ domain: dereckson.be
+ subdomain: www51
+ user: web-be-dereckson-www51
+ php-fpm: prod
+
+ # Espace Win
+ www51.espace-win.org:
+ domain: espace-win.org
+ subdomain: www51
+ user: web-org-espacewin-www51
+ php-fpm: prod
diff --git a/pillar/tower.sls b/pillar/tower.sls
index c60573e..4494701 100644
--- a/pillar/tower.sls
+++ b/pillar/tower.sls
@@ -1,12 +1,13 @@
# -------------------------------------------------------------
# Salt configuration for Nasqueron servers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Description: External pillar to configure pillar stanza
# by pillar, grain or option value
# Reference: https://github.com/jgraichen/salt-tower
# -------------------------------------------------------------
base:
+ - paas/alkane/{{ minion_id }}/*.sls
- paas/docker/{{ minion_id }}/*.sls
diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
index 4378145..e37bd73 100644
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -1,214 +1,67 @@
# -------------------------------------------------------------
# Salt — Sites to provision on the legacy web server
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-web_aliases:
- services:
- - &db-B 172.27.27.9
-
-# -------------------------------------------------------------
-# Domains we deploy
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-web_domains:
-
- #
- # Directly managed by Nasqueron
- #
-
- nasqueron:
- - nasqueron.org
- - ook.space
-
- #
- # Nasqueron members
- #
-
- nasqueron_members:
- - dereckson.be
- - hypership.space
-
- #
- # Projects ICT is managed by Nasqueron
- #
-
- espacewin:
- - espace-win.org
-
- wolfplex:
- - wolfplex.org
-
-# -------------------------------------------------------------
-# Static sites
-#
-# Sites to deploy from the staging repository
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-web_static_sites:
- dereckson.be:
- - assets
- nasqueron.org:
- - www
- - assets
- - docker
- - ftp
- - launch
- - packages
- - trustspace
- wolfplex.org:
- - www
- - assets
-
-# -------------------------------------------------------------
-# PHP sites
-#
-# Username must be unique and use max 31 characters.
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-php_fpm_instances:
- # PHP current version, generally installed as package/port
- prod:
- command: /usr/local/sbin/php-fpm
-
-web_php_sites:
- # Nasqueron members
- mediawiki.dereckson.be:
- domain: dereckson.be
- subdomain: mediawiki
- user: web-be-dereckson-mw
- php-fpm: prod
-
- www.dereckson.be:
- domain: dereckson.be
- subdomain: www
- user: web-be-dereckson-www
- source: wwwroot/dereckson.be/www
- target: /var/wwwroot/dereckson.be/www
- php-fpm: prod
- capabilities:
- - wordpress
-
- www51.dereckson.be:
- domain: dereckson.be
- subdomain: www51
- user: web-be-dereckson-www51
- php-fpm: prod
-
- # Directly managed by Nasqueron
- api.nasqueron.org:
- domain: nasqueron.org
- subdomain: api
- user: web-org-nasqueron-api-serverslog
- php-fpm: prod
- env:
- SERVERS_LOG_FILE: /srv/api/data/servers-log-all.json
-
- wikis.nasqueron.org:
- domain: nasqueron.org
- subdomain: wikis
- user: mediawiki
- php-fpm: prod
- skipCreateUser: True
- env:
- MEDIAWIKI_ENTRY_POINT: /srv/mediawiki/index.php
- DB_HOST: *db-B
- DB_USER: saas-mediawiki
-
- # Espace Win
- www.espace-win.org:
- domain: espace-win.org
- subdomain: www
- user: web-org-espacewin-www
- source: wwwroot/espace-win.org/www
- target: /var/wwwroot/espace-win.org/www
- php-fpm: prod
-
- www51.espace-win.org:
- domain: espace-win.org
- subdomain: www51
- user: web-org-espacewin-www51
- php-fpm: prod
-
- # Wolfplex Hackerspace
- www.wolfplex.org:
- domain: wolfplex.org
- subdomain: www
- user: web-org-wolfplex-www
- php-fpm: prod
- env:
- DATASTORE: /var/dataroot/wolfplex
- CREDENTIAL_PATH_DATASOURCES_SECURITYDATA: /var/dataroot/wolfplex/secrets.json
-
- # Zed - HyperShip
- hypership.space:
- domain: hypership.space
- subdomain: www
- user: web-space-hypership-www
- php-fpm: prod
- env:
- CACHE_DIR: /var/cache/zed/hypership.space
- CONTENT_DIR: /srv/zed/content
-
# -------------------------------------------------------------
# States
#
# Sites with states documenting how to build them
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_content_sls:
#
# Eglide
#
shellserver:
# Directly managed by Eglide project
- .org/eglide
#
# Nasqueron servers
#
mastodon:
- .org/nasqueron/social
webserver-legacy:
# Nasqueron members
- .be/dereckson
# Projects hosted
- .space/hypership
# Directly managed by Nasqueron
- .org/nasqueron/api
- .org/nasqueron/autoconfig
- .org/nasqueron/daeghrefn
- .org/nasqueron/docs
- .org/nasqueron/infra
- .org/nasqueron/labs
- .org/nasqueron/rain
# Wolfplex Hackerspace
- .org/wolfplex/api
- .org/wolfplex/www
# -------------------------------------------------------------
# Sites deployed through Jenkins CD
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_content_jenkins_cd:
webserver-legacy:
- api
- assets
- autoconfig
- docker
- docs
- launch
- www
# -------------------------------------------------------------
# Tweaks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
web_autochmod:
- /var/wwwroot/dereckson.be/www
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 12, 11:21 (1 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065858
Default Alt Text
(13 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment