Page MenuHomeDevCentral

D1436.id3671.diff
No OneTemporary

D1436.id3671.diff

diff --git a/GIDs b/GIDs
--- a/GIDs
+++ b/GIDs
@@ -4,6 +4,7 @@
3001 ops
#3002 is intentionally left unassigned
3003 deployment
+3004 mediawiki
9001 salt
9002 deploy
9003 web
diff --git a/UIDs b/UIDs
--- a/UIDs
+++ b/UIDs
@@ -3,6 +3,7 @@
832 chaton
833 viper
834 tc2
+3004 mediawiki
9001 salt
9002 deploy
8900 zr
diff --git a/roles/saas-mediawiki/account/init.sls b/roles/saas-mediawiki/account/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/saas-mediawiki/account/init.sls
@@ -0,0 +1,25 @@
+# -------------------------------------------------------------
+# Salt — MediaWiki farm
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-03-16
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Service account
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+mediawiki_group:
+ group.present:
+ - name: mediawiki
+ - gid: 3004
+ - system: True
+
+mediawiki_account:
+ user.present:
+ - name: mediawiki
+ - fullname: MediaWiki SaaS
+ - uid: 3004
+ - gid: 3004
+ - home: /var/run/mediawiki
diff --git a/roles/saas-mediawiki/init.sls b/roles/saas-mediawiki/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/saas-mediawiki/init.sls
@@ -0,0 +1,10 @@
+# -------------------------------------------------------------
+# Salt — MediaWiki farm
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-03-16
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - .account

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 13:26 (14 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269006
Default Alt Text
D1436.id3671.diff (1 KB)

Event Timeline