just cosmetic
[bootstrapfs.git] / db-config.d / 030-conf_files_node_update
1 # -*-python-*-
2 #################### conf files
3
4 conf_files = [
5
6 # myplc/noderepo
7     # YUM configuration
8         { 'enabled' : True,
9           'source' : 'yum/yum.php?path=yum.conf',
10           'dest' : '/etc/yum.conf',
11           'file_permissions' : '644', 'file_owner' : 'root', 'file_group' : 'root',
12           'preinstall_cmd' : '', 'postinstall_cmd' : '', 'error_cmd' : '',
13           'ignore_cmd_errors' : False,
14           'always_update' : False},
15         { 'enabled' : True,
16           'source' : 'yum/yum.php?path=yum.myplc.d/stock.repo',
17           'dest' : '/etc/yum.myplc.d/stock.repo',
18           'file_permissions' : '644', 'file_owner' : 'root', 'file_group' : 'root',
19           'preinstall_cmd' : '', 'postinstall_cmd' : '', 'error_cmd' : '',
20           'ignore_cmd_errors' : False,
21           'always_update' : False},
22         { 'enabled' : True,
23           'source' : 'yum/myplc.repo.php?gpgcheck=1',
24           'dest' : '/etc/yum.myplc.d/myplc.repo',
25           'file_permissions' : '644', 'file_owner' : 'root', 'file_group' : 'root',
26           'preinstall_cmd' : '', 'postinstall_cmd' : '', 'error_cmd' : '',
27           'ignore_cmd_errors' : False,
28           'always_update' : False},
29     
30 # NodeUpdate
31         { 'enabled' : True,
32           'source' : 'PlanetLabConf/delete-rpm-list-production',
33           'dest' : '/etc/planetlab/delete-rpm-list',
34           'file_permissions' : '644', 'file_owner' : 'root', 'file_group' : 'root',
35           'preinstall_cmd' : '',
36           'postinstall_cmd' : '',
37           'error_cmd' : '',
38           'ignore_cmd_errors' : False,
39           'always_update' : False},
40 # NodeUpdate - ctd
41     # /etc/planetlab/extensions
42         { 'enabled' : True,
43           'source' : 'PlanetLabConf/extensions.php',
44           'dest' : '/etc/planetlab/extensions',
45           'file_permissions' : '644', 'file_owner' : 'root', 'file_group' : 'root',
46           'preinstall_cmd' : '',
47           'postinstall_cmd' : '',
48           'error_cmd' : '',
49           'ignore_cmd_errors' : False,
50           'always_update' : False},
51     ]
52
53 for conf_file in conf_files:
54         SetConfFile(conf_file)