default.rb 626 Bytes
Newer Older
Christopher Huhn's avatar
Christopher Huhn committed
1
2
3
4
# defaulf basedir for mirrored repositories
default_unless['debmirror']['base_dir'] = '/srv/debmirror'

# keyring where debmirror looks for repository keys
Christopher Huhn's avatar
Christopher Huhn committed
5
6
default_unless['debmirror']['keyring'] =
  node['debmirror']['base_dir'] + '/.gnupg/trustedkeys.gpg'
Christopher Huhn's avatar
Christopher Huhn committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# the user that runs the scripts:
default_unless['debmirror']['mirrors'] = {}

# the directory the generated debmirror scripts are placed into:
default_unless['debmirror']['script_dir'] = '/etc/debmirror.d'

# the user that runs the scripts:
default_unless['debmirror']['user'] = 'nobody'

default_unless['debmirror']['cron'] = {
  day: '*',
  hour: 2,
  minute: 42
}