Page MenuHomeDevCentral

D3308.diff
No OneTemporary

D3308.diff

diff --git a/roles/saas-nextcloud/init.sls b/roles/saas-nextcloud/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/saas-nextcloud/init.sls
@@ -0,0 +1,9 @@
+# -------------------------------------------------------------
+# Salt — NextCloud
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - .nextcloud
diff --git a/roles/saas-nextcloud/nextcloud/init.sls b/roles/saas-nextcloud/nextcloud/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/saas-nextcloud/nextcloud/init.sls
@@ -0,0 +1,28 @@
+# -------------------------------------------------------------
+# Salt — NextCloud
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import packages_prefixes with context %}
+
+# -------------------------------------------------------------
+# Software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+nextcloud_software:
+ pkg.installed:
+ - pkgs:
+ # Dependencies
+ - {{ packages_prefixes.php }}sysvsem
+ - {{ packages_prefixes.pecl }}APCu
+ - {{ packages_prefixes.php }}opcache
+ - {{ packages_prefixes.php }}ldap
+ - {{ packages_prefixes.php }}gmp
+ - {{ packages_prefixes.php }}exif
+ - {{ packages_prefixes.php }}bz2
+ - openldap26-client
+
+ # NextCloud
+ - nextcloud-{{ packages_prefixes.php | replace("-", "") }}
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -25,6 +25,7 @@
- roles/dbserver-mysql
- roles/dbserver-pgsql
- roles/devserver
+ - roles/saas-nextcloud
- roles/webserver-alkane
- roles/webserver-core
- roles/webserver-legacy

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 18:20 (15 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306693
Default Alt Text
D3308.diff (1 KB)

Event Timeline