summaryrefslogtreecommitdiff
path: root/modules/shiori/manifests/init.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 02:26:25 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 02:26:25 +0100
commitdd28dcf3d620a4ac7d0a1532b812213cf094cd3c (patch)
treea3fa8c8ef446de2bcc2f317bceb4bca868f7e0f0 /modules/shiori/manifests/init.pp
parentMove webdav into profiles. (diff)
downloadwebdav_server-dd28dcf3d620a4ac7d0a1532b812213cf094cd3c.tar.gz
webdav_server-dd28dcf3d620a4ac7d0a1532b812213cf094cd3c.tar.xz
Revert "Move webdav into profiles."
It actually reverts the non-need for the nginx module webdav_ext. Since Omnifocus requires PROPFIND. This reverts commit edf6ffe8b399679ba28cc5e558a6838919dd1ee8.
Diffstat (limited to 'modules/shiori/manifests/init.pp')
-rw-r--r--modules/shiori/manifests/init.pp65
1 files changed, 0 insertions, 65 deletions
diff --git a/modules/shiori/manifests/init.pp b/modules/shiori/manifests/init.pp
deleted file mode 100644
index 69d5fde..0000000
--- a/modules/shiori/manifests/init.pp
+++ /dev/null
@@ -1,65 +0,0 @@
-class shiori (
- $port = 8080,
- $dir = '/var/www/shiori',
-) {
-
-
- # on arch this is available through the aur
- package { 'shiori-bin':
- ensure => installed,
- }
-
- user { 'shiori':
- ensure => present,
- system => true,
- home => $dir,
- }
-
- file { $dir:
- ensure => directory,
- owner => shiori,
- group => shiori,
- mode => '0750',
- }
-
- file { [
- "${dir}/archive",
- "${dir}/thumb",
- ] :
- ensure => directory,
- owner => shiori,
- group => shiori,
- mode => '0770',
- }
-
- file { "${dir}/shiori.db":
- owner => 'shiori',
- group => 'shiori',
- mode => '0660',
- }
-
- file { '/etc/systemd/system/shiori.service':
- ensure => file,
- source => 'puppet:///modules/shiori/shiori.service',
- }
-
- file { '/etc/conf.d/shiori':
- ensure => 'file',
- content => @("EOF")
- # This file is managed by Puppet.
- PORT=${port}
- SHIORI_DIR=${dir}
- | EOF
- }
-
- service { 'shiori':
- ensure => running,
- enable => true,
- require => [
- File['/etc/systemd/system/shiori.service'],
- File['/etc/conf.d/shiori'],
- ],
- }
-
- # Users could be managed here, through shioris HTTP API
-}