aboutsummaryrefslogtreecommitdiff
path: root/modules/pacman/templates
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-10 23:21:16 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-10 23:23:55 +0200
commit2390cad785cc63d59eade9c819675e8699c58ef8 (patch)
treea36e6815e16c2fb82b774bfab72477d8edae0ff5 /modules/pacman/templates
parent96413d28d1c451d51e77954ea25f2ac911c9be86 (diff)
downloadPuppet-2390cad785cc63d59eade9c819675e8699c58ef8.tar.gz
Puppet-2390cad785cc63d59eade9c819675e8699c58ef8.tar.zst
Puppet-2390cad785cc63d59eade9c819675e8699c58ef8.zip
Use package git repo
Diffstat (limited to 'modules/pacman/templates')
m---------modules/pacman0
-rw-r--r--modules/pacman/templates/pacman.conf.customrepo.erb6
-rw-r--r--modules/pacman/templates/pacman.conf.main.erb103
-rw-r--r--modules/pacman/templates/pacman.conf.repo.erb15
4 files changed, 0 insertions, 124 deletions
diff --git a/modules/pacman b/modules/pacman
new file mode 160000
Subproject 1b42bd156fd35c7736e155e3a8c456969a274ff
diff --git a/modules/pacman/templates/pacman.conf.customrepo.erb b/modules/pacman/templates/pacman.conf.customrepo.erb
deleted file mode 100644
index 91e66fe..0000000
--- a/modules/pacman/templates/pacman.conf.customrepo.erb
+++ /dev/null
@@ -1,6 +0,0 @@
1
2# An example of a custom package repository. See the pacman manpage for
3# tips on creating your own repositories.
4#[custom]
5#SigLevel = Optional TrustAll
6#Server = file:///home/custompkgs
diff --git a/modules/pacman/templates/pacman.conf.main.erb b/modules/pacman/templates/pacman.conf.main.erb
deleted file mode 100644
index 2c2df5b..0000000
--- a/modules/pacman/templates/pacman.conf.main.erb
+++ /dev/null
@@ -1,103 +0,0 @@
1#
2# /etc/pacman.conf
3#
4# See the pacman.conf(5) manpage for option and repository directives
5
6#
7# GENERAL OPTIONS
8#
9[options]
10# The following paths are commented out with their default values listed.
11# If you wish to use different paths, uncomment and update the paths.
12#RootDir = /
13RootDir = <%= @rootdir %>
14
15#DBPath = /var/lib/pacman/
16DBPath = <%= @dbpath %>
17
18#CacheDir = /var/cache/pacman/pkg/
19CacheDir = <%= @cachedir %>
20
21#LogFile = /var/log/pacman.log
22LogFile = <%= @logfile %>
23
24#GPGDir = /etc/pacman.d/gnupg/
25GPGDir = <%= @gpgdir %>
26
27#HoldPkg = pacman glibc
28HoldPkg = <%= @holdpkg %>
29
30#XferCommand = /usr/bin/curl -C - -f %u > %o
31#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
32XferCommand = <%= @xfercommand %>
33
34#CleanMethod = KeepInstalled
35CleanMethod = <%= @cleanmethod %>
36
37#UseDelta = 0.7
38UseDelta = <%= @usedelta %>
39
40#Architecture = auto
41Architecture = <%= @architecture %>
42
43# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
44IgnorePkg = <%= @ignorepkg %>
45IgnoreGroup = <%= @ignoregroup %>
46
47NoUpgrade = <%= @noupgrade %>
48NoExtract = <%= @noextract %>
49
50# Misc options
51#UseSyslog
52<% if @usesyslog -%>
53UseSyslog
54<% end -%>
55#color
56<% if @color -%>
57Color
58<% end -%>
59#TotalDownload
60<% if @totaldownload -%>
61TotalDownload
62<% end -%>
63#CheckSpace
64<% if @checkspace -%>
65CheckSpace
66<% end -%>
67#VerbosePkgLists
68<% if @verbosepkglist -%>
69VerbosePkgLists
70<% end -%>
71
72# By default, pacman accepts packages signed by keys that its local keyring
73# trusts (see pacman-key and its man page), as well as unsigned packages.
74SigLevel = <%= @mainsiglevel %>
75LocalFileSigLevel = <%= @localfilesiglevel %>
76RemoteFileSigLevel = <%= @remotefilesiglevel %>
77
78# NOTE: You must run `pacman-key --init` before first using pacman; the local
79# keyring can then be populated with the keys of all official Arch Linux
80# packagers with `pacman-key --populate archlinux`.
81
82#
83# REPOSITORIES
84# - can be defined here or included from another file
85# - pacman will search repositories in the order defined here
86# - local/custom mirrors can be added here or in separate files
87# - repositories listed first will take precedence when packages
88# have identical names, regardless of version number
89# - URLs will have $repo replaced by the name of the current repo
90# - URLs will have $arch replaced by the name of the architecture
91#
92# Repository entries are of the format:
93# [repo-name]
94# Server = ServerName
95# Include = IncludePath
96#
97# The header [repo-name] is crucial - it must be present and
98# uncommented to enable the repo.
99#
100
101# The testing repositories are disabled by default. To enable, uncomment the
102# repo name header and Include lines. You can add preferred servers immediately
103# after the header, and they will be used before the default mirrors.
diff --git a/modules/pacman/templates/pacman.conf.repo.erb b/modules/pacman/templates/pacman.conf.repo.erb
deleted file mode 100644
index 8038c47..0000000
--- a/modules/pacman/templates/pacman.conf.repo.erb
+++ /dev/null
@@ -1,15 +0,0 @@
1
2[<%= @name %>]
3<% if @description -%>
4# Description: <%= @description %>
5<% end -%>
6# Order: <%= @order %>
7<%if @siglevel -%>
8SigLevel = <%= @siglevel %>
9<% end -%>
10<%if @server -%>
11Server = <%= @server %>
12<% end -%>
13<%if @include -%>
14Include = <%= @include%>
15<% end -%>