summaryrefslogtreecommitdiff
path: root/modules/pacman/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/pacman/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/pacman/manifests/init.pp')
-rw-r--r--modules/pacman/manifests/init.pp44
1 files changed, 0 insertions, 44 deletions
diff --git a/modules/pacman/manifests/init.pp b/modules/pacman/manifests/init.pp
deleted file mode 100644
index fb23328..0000000
--- a/modules/pacman/manifests/init.pp
+++ /dev/null
@@ -1,44 +0,0 @@
-class pacman (
- String $hooks_path = '/etc/pacman.d/hooks-puppet',
- String $conf_path = '/etc/pacman.conf',
- Boolean $ilovecandy = false,
-) {
-
- ini_setting { 'Pacman HookDir':
- path => $conf_path,
- section => 'options',
- setting => 'HookDir',
- value => $hooks_path,
-
- }
-
- ini_setting { 'Pacman ILoveCandy':
- ensure => if ($ilovecandy) { present } else { absent },
- path => '/etc/pacman.conf',
- section => 'options',
- setting => 'ILoveCandy',
- key_val_separator => '',
- value => '',
- }
-
- if versioncmp($facts['pacman-version'], '6.0.0') >= 0 {
- ini_setting { 'Pacman parallel downloads':
- path => '/etc/pacman.conf',
- section => 'options',
- setting => 'ParallelDownloads',
- value => 8,
- }
- }
-
- file { $hooks_path:
- ensure => directory,
- recurse => true,
- purge => true,
- }
-
- file { '/etc/pacman.d/mirrorlist':
- ensure => present,
- backup => true,
- source => 'puppet:///modules/pacman/mirrorlist',
- }
-}