diff options
| author | alex <alex@pdp7.net> | 2023-10-13 13:19:14 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-13 13:19:14 +0200 |
| commit | 6317947b282c748fb48d6e813d733faf3f68c333 (patch) | |
| tree | 1442b5f048bf39637238de08e0f86dd937e11891 /personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp | |
| parent | 148b77faa57291930c2424678009cbb6b15701df (diff) | |
Migrate nextcloud
Diffstat (limited to 'personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp')
| -rw-r--r-- | personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp b/personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp index 5f21981f..29753d5b 100644 --- a/personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp +++ b/personal_infra/puppet/site/nextcloud.h1.int.pdp7.net.pp @@ -3,7 +3,20 @@ node 'nextcloud.h1.int.pdp7.net' { database_name => 'nextcloud', database_user => 'nextcloud', database_host => 'pg.h1.int.pdp7.net', - admin_pass => 'foo', - data_dir => '/var/lib/nextcloud/data', + } + + file {'/var/lib/nextcloud/apps': + ensure => 'link', + target => '/nextcloud/apps/', + } + + file {'/var/lib/nextcloud/data': + ensure => 'link', + target => '/nextcloud/data/', + } + + file {'/etc/nextcloud/config.php': + ensure => 'link', + target => '/nextcloud/config.php', } } |
