archive.conf.j2 1.39 KB
Newer Older
Sébastien Luttringer's avatar
Sébastien Luttringer committed
1
# vim:set sw=2 ts=2 ft=sh et:
2
3
4
#
# {{ ansible_managed }}
#
Sébastien Luttringer's avatar
Sébastien Luttringer committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

# Archlinux remote rsync server
ARCHIVE_RSYNC='rsync://rsync.archlinux.org/kitchensink_tier1/'

# Archive local directory
ARCHIVE_DIR='{{ archive_dir }}'

# Archive User and Group
ARCHIVE_USER=archive
ARCHIVE_GROUP=archive

# Package extensions
PKGEXT='.pkg.tar.xz'
PKGSIG="$PKGEXT.sig"

# Umask used when archiving
UMASK=022

##############################################################################
#### Repositories
##############################################################################

# Enable repositories archiving
ARCHIVE_REPO=1

# Enable daily repo trees
# This offer daily, weekly, monthly, yearly snapshot trees
REPO_DAYLY=1

# Enable packages tree
# Create a dedicated tree with packages sorted by name
REPO_PACKAGES=1

# Enable repository package index
# Needed by agetpkg to list packages
REPO_PACKAGES_INDEX=1

# Search in all repository snapshop. This is slow.
# Better option is to let it to 0 to look only in the last snapshot
REPO_PACKAGES_FULL_SEARCH=0

# Max duration in second of the rsyncing of the daily snapshot
REPO_RSYNC_TIMEOUT=80000

##############################################################################
#### ISO
##############################################################################

# Enable ISO archiving
ARCHIVE_ISO=1

# Max duration in second of the rsyncing of the iso images
ISO_RSYNC_TIMEOUT=6400