target => 'http://miniflux.h1.int.pdp7.net:8080/',
}
+ proxmox::proxy_host {'nextcloud.pdp7.net':
+ target => 'http://nextcloud.h1.int.pdp7.net/',
+ }
+
package {'haproxy':}
->
file {'/etc/haproxy/haproxy.cfg':
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',
}
}