aboutsummaryrefslogtreecommitdiff
path: root/modules/pacman/manifests/params.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pacman/manifests/params.pp')
-rw-r--r--modules/pacman/manifests/params.pp41
1 files changed, 41 insertions, 0 deletions
diff --git a/modules/pacman/manifests/params.pp b/modules/pacman/manifests/params.pp
new file mode 100644
index 0000000..b8b9e1c
--- /dev/null
+++ b/modules/pacman/manifests/params.pp
@@ -0,0 +1,41 @@
1# Class: pacman::params
2#
3class pacman::params {
4 case $::osfamily {
5 'Archlinux' : {
6 $package_ensure = 'present'
7 $package_name = 'pacman'
8 $config = '/etc/pacman.conf'
9 # pacman config options
10 $rootdir = '/'
11 $dbpath = '/var/lib/pacman'
12 $cachedir = '/var/cache/pacman/pkg'
13 $logfile = '/var/log/pacman.log'
14 $gpgdir = '/etc/pacman.d/gnupg/'
15 $holdpkg = 'pacman glibc'
16 $xfercommand = '/usr/bin/curl -C - -f %u > %o'
17 $cleanmethod = 'KeepInstalled'
18 $usedelta = '0.7'
19 $architecture = 'auto'
20 # pacman package options
21 $ignorepkg = undef
22 $noupgrade = undef
23 $noextract = undef
24 # pacman misc options
25 $usesyslog = false
26 $color = false
27 $totaldownload = false
28 $checkspace = true
29 $verbosepkglist = false
30 # pacman sec options
31 $mainsiglevel = 'Required DatabaseOptional'
32 $localfilesiglevel = 'Optional'
33 $remotefilesiglevel = 'Required'
34 }
35
36 default : {
37 fail("The ${module_name} module is not supported
38 on an ${::osfamily} based system.")
39 }
40 }
41}