aboutsummaryrefslogtreecommitdiff
path: root/personal_infra
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra')
-rw-r--r--personal_infra/puppet/modules/nextcloud/manifests/init.pp31
1 files changed, 1 insertions, 30 deletions
diff --git a/personal_infra/puppet/modules/nextcloud/manifests/init.pp b/personal_infra/puppet/modules/nextcloud/manifests/init.pp
index a21b9cfc..93fe625d 100644
--- a/personal_infra/puppet/modules/nextcloud/manifests/init.pp
+++ b/personal_infra/puppet/modules/nextcloud/manifests/init.pp
@@ -4,36 +4,7 @@ class nextcloud(
$database_host,
) {
- file {'/etc/yum.repos.d/koalillo-nextcloud-epel-9.repo':
- content => @("EOT"/$)
- [copr:copr.fedorainfracloud.org:koalillo:nextcloud]
- name=Copr repo for nextcloud owned by koalillo
- baseurl=https://download.copr.fedorainfracloud.org/results/koalillo/nextcloud/epel-9-\$basearch/
- type=rpm-md
- skip_if_unavailable=True
- gpgcheck=1
- gpgkey=https://download.copr.fedorainfracloud.org/results/koalillo/nextcloud/pubkey.gpg
- repo_gpgcheck=0
- enabled=1
- enabled_metadata=1
- | EOT
- ,
- }
-
- package {'remi-release':
- source => 'https://rpms.remirepo.net/enterprise/remi-release-9.rpm',
- }
- ->
- exec {'/usr/bin/dnf module enable -y php:remi-8.2':
- unless => '/usr/bin/dnf module list --enabled php | grep remi-8.2',
- }
-
- package {['nextcloud-httpd', 'nextcloud-postgresql', 'php82-php-pecl-apcu', 'php-sodium', 'php-opcache',]:
- require => [
- Exec['/usr/bin/dnf module enable -y php:remi-8.2'],
- File['/etc/yum.repos.d/koalillo-nextcloud-epel-9.repo'],
- ],
- }
+ package {['nextcloud-httpd', 'nextcloud-postgresql']:}
service {'httpd':
enable => true,