Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3909118
D3308.diff
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
D3308.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3308: Install NextCloud on saas-nextcloud role
Attached
Detach File
Event Timeline
Log In to Comment