diff options
| author | alex <alex@pdp7.net> | 2024-07-18 22:01:11 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-07-18 22:02:10 +0200 |
| commit | 243061af81b7af4ead12f3c8434b6f7587b333b3 (patch) | |
| tree | a762c2b7c53edefc9b8776c8b3d7c6072741ed2b /personal_infra | |
| parent | 1d9d9d8510b049f74bd9cbc51d1cf8bbbbb7250b (diff) | |
Switch to EPEL Nextcloud
Diffstat (limited to 'personal_infra')
| -rw-r--r-- | personal_infra/puppet/modules/nextcloud/manifests/init.pp | 31 |
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, |
