Fix logrotate postrotate command
[packages/centos7/cobbler.git] / Mirantis-Signatures-for-Ubuntu-16.04-and-Fedora-24.patch
1 From 1e027d460320d9edae1642f00faa44cdf4fbdf58 Mon Sep 17 00:00:00 2001
2 From: Dmitry Teselkin <dteselkin@mirantis.com>
3 Date: Tue, 14 Jun 2016 17:56:19 +0300
4 Subject: [PATCH] Signatures for Ubuntu 16.04 and Fedora 24
5
6 Change-Id: I951a3f773b295f357b0a744064c0d11138aea9eb
7 ---
8  config/distro_signatures.json | 232 +++++++++++++++++++++++++++-
9  1 file changed, 228 insertions(+), 4 deletions(-)
10
11 diff --git a/config/distro_signatures.json b/config/distro_signatures.json
12 index f571614..5f5cb10 100644
13 --- a/config/distro_signatures.json
14 +++ b/config/distro_signatures.json
15 @@ -55,7 +55,7 @@
16      "version_file_regex":null,\r
17      "kernel_arch":"kernel-(.*).rpm",\r
18      "kernel_arch_regex":null,\r
19 -    "supported_arches":["i386","x86_64","ppc","ppc64"],\r
20 +    "supported_arches":["i386","x86_64","ppc","ppc64","ppc64le"],\r
21      "supported_repo_breeds":["rsync", "rhn", "yum"],\r
22      "kernel_file":"vmlinuz(.*)",\r
23      "initrd_file":"initrd(.*)\\.img",\r
24 @@ -161,6 +161,54 @@
25      "kernel_options_post":"",\r
26      "boot_files":[]\r
27     },\r
28 +   "fedora22": {\r
29 +    "signatures":["Packages"],\r
30 +    "version_file":"(fedora)-release-22-(.*)\\.noarch\\.rpm",\r
31 +    "version_file_regex":null,\r
32 +    "kernel_arch":"kernel-(.*)\\.rpm",\r
33 +    "kernel_arch_regex":null,\r
34 +    "supported_arches":["i386","x86_64","ppc","ppc64","ppc64le"],\r
35 +    "supported_repo_breeds":["rsync", "rhn", "yum"],\r
36 +    "kernel_file":"vmlinuz(.*)",\r
37 +    "initrd_file":"initrd(.*)\\.img",\r
38 +    "isolinux_ok":false,\r
39 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_end.ks",\r
40 +    "kernel_options":"repo=$tree",\r
41 +    "kernel_options_post":"",\r
42 +    "boot_files":[]\r
43 +   },\r
44 +   "fedora23": {\r
45 +    "signatures":["Packages"],\r
46 +    "version_file":"(fedora)-release-23-(.*)\\.noarch\\.rpm",\r
47 +    "version_file_regex":null,\r
48 +    "kernel_arch":"kernel-(.*)\\.rpm",\r
49 +    "kernel_arch_regex":null,\r
50 +    "supported_arches":["i386","x86_64","ppc","ppc64","ppc64le"],\r
51 +    "supported_repo_breeds":["rsync", "rhn", "yum"],\r
52 +    "kernel_file":"vmlinuz(.*)",\r
53 +    "initrd_file":"initrd(.*)\\.img",\r
54 +    "isolinux_ok":false,\r
55 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_end.ks",\r
56 +    "kernel_options":"repo=$tree",\r
57 +    "kernel_options_post":"",\r
58 +    "boot_files":[]\r
59 +   },\r
60 +   "fedora24": {\r
61 +    "signatures":["Packages"],\r
62 +    "version_file":"(fedora)-release-24-(.*)\\.noarch\\.rpm",\r
63 +    "version_file_regex":null,\r
64 +    "kernel_arch":"kernel-(.*)\\.rpm",\r
65 +    "kernel_arch_regex":null,\r
66 +    "supported_arches":["i386","x86_64","ppc","ppc64","ppc64le"],\r
67 +    "supported_repo_breeds":["rsync", "rhn", "yum"],\r
68 +    "kernel_file":"vmlinuz(.*)",\r
69 +    "initrd_file":"initrd(.*)\\.img",\r
70 +    "isolinux_ok":false,\r
71 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_end.ks",\r
72 +    "kernel_options":"repo=$tree",\r
73 +    "kernel_options_post":"",\r
74 +    "boot_files":[]\r
75 +   },\r
76     "cloudlinux6": {\r
77      "signatures":["Packages"],\r
78      "version_file":"(cloudlinux)-release-(.*)\\.rpm",\r
79 @@ -226,6 +274,22 @@
80      "kernel_options":"",\r
81      "kernel_options_post":"",\r
82      "boot_files":[]\r
83 +   },\r
84 +   "stretch": {\r
85 +    "signatures":["dists"],\r
86 +    "version_file":"Release",\r
87 +    "version_file_regex":"Codename: stretch",\r
88 +    "kernel_arch":"linux-headers-(.*)\\.deb",\r
89 +    "kernel_arch_regex":null,\r
90 +    "supported_arches":["i386","amd64"],\r
91 +    "supported_repo_breeds":["apt"],\r
92 +    "kernel_file":"vmlinuz(.*)",\r
93 +    "initrd_file":"initrd(.*)\\.gz",\r
94 +    "isolinux_ok":false,\r
95 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample.seed",\r
96 +    "kernel_options":"",\r
97 +    "kernel_options_post":"",\r
98 +    "boot_files":[]\r
99     }\r
100    },\r
101    "ubuntu": {\r
102 @@ -356,6 +420,38 @@
103      "kernel_options":"",\r
104      "kernel_options_post":"",\r
105      "boot_files":[]\r
106 +   },\r
107 +   "wily": {\r
108 +    "signatures":["dists", ".disk"],\r
109 +    "version_file":"Release|mini-info",\r
110 +    "version_file_regex":"Codename: wily|Ubuntu 15.10",\r
111 +    "kernel_arch":"linux-headers-(.*)\\.deb",\r
112 +    "kernel_arch_regex":null,\r
113 +    "supported_arches":["i386","amd64"],\r
114 +    "supported_repo_breeds":["apt"],\r
115 +    "kernel_file":"linux(.*)",\r
116 +    "initrd_file":"initrd(.*)\\.gz",\r
117 +    "isolinux_ok":false,\r
118 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample.seed",\r
119 +    "kernel_options":"",\r
120 +    "kernel_options_post":"",\r
121 +    "boot_files":[]\r
122 +   },\r
123 +   "xenial": {\r
124 +    "signatures":["dists", ".disk"],\r
125 +    "version_file":"Release|mini-info",\r
126 +    "version_file_regex":"Codename: xenial|Ubuntu 16.04",\r
127 +    "kernel_arch":"linux-headers-(.*)\\.deb",\r
128 +    "kernel_arch_regex":null,\r
129 +    "supported_arches":["i386","amd64"],\r
130 +    "supported_repo_breeds":["apt"],\r
131 +    "kernel_file":"linux(.*)",\r
132 +    "initrd_file":"initrd(.*)\\.gz",\r
133 +    "isolinux_ok":false,\r
134 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample.seed",\r
135 +    "kernel_options":"",\r
136 +    "kernel_options_post":"",\r
137 +    "boot_files":[]\r
138     }\r
139    },\r
140    "suse": {\r
141 @@ -471,6 +567,22 @@
142      "kernel_options_post":"",\r
143      "boot_files":[]\r
144     },\r
145 +   "opensuse13.2": {\r
146 +    "signatures":["suse"],\r
147 +    "version_file":"openSUSE-release-13.2-(.*).rpm",\r
148 +    "version_file_regex":null,\r
149 +    "kernel_arch":"kernel-(.*)\\.rpm",\r
150 +    "kernel_arch_regex":null,\r
151 +    "supported_arches":["i386","i586","x86_64"],\r
152 +    "supported_repo_breeds":["yum"],\r
153 +    "kernel_file":"(linux|vmlinuz(.*))",\r
154 +    "initrd_file":"initrd(.*)",\r
155 +    "isolinux_ok":false,\r
156 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_autoyast.xml",\r
157 +    "kernel_options":"",\r
158 +    "kernel_options_post":"",\r
159 +    "boot_files":[]\r
160 +   },\r
161     "sles10": {\r
162      "signatures":["suse"],\r
163      "version_file":"sles-release-10-(.*).rpm",\r
164 @@ -582,6 +694,22 @@
165      "kernel_options":"install=$tree",\r
166      "kernel_options_post":"",\r
167      "boot_files":[]\r
168 +   },\r
169 +   "sles12sp1": {\r
170 +    "signatures":["suse"],\r
171 +    "version_file":"(sles|SLES-for-VMware)-release-12.1-(.*).rpm",\r
172 +    "version_file_regex":null,\r
173 +    "kernel_arch":"kernel-(.*)\\.rpm",\r
174 +    "kernel_arch_regex":null,\r
175 +    "supported_arches":["i386","i586","x86_64","ppc64"],\r
176 +    "supported_repo_breeds":["yum"],\r
177 +    "kernel_file":"linux[64.gz]?",\r
178 +    "initrd_file":"initrd[64]?",\r
179 +    "isolinux_ok":false,\r
180 +    "default_kickstart":"/var/lib/cobbler/kickstarts/sample_autoyast.xml",\r
181 +    "kernel_options":"install=$tree",\r
182 +    "kernel_options_post":"",\r
183 +    "boot_files":[]\r
184     }\r
185    },\r
186    "vmware": {\r
187 @@ -751,10 +879,90 @@
188      "kernel_options_post":"",\r
189      "boot_files":[]\r
190     },\r
191 +   "9.1": {\r
192 +    "signatures":["boot"],\r
193 +    "version_file":"device\\.hints",\r
194 +    "version_file_regex":"^.*FreeBSD: release/9.1(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
195 +    "kernel_arch":"device\\.hints",\r
196 +    "kernel_arch_regex":"^.*FreeBSD: release/9.1(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
197 +    "supported_arches":["i386","amd64"],\r
198 +    "supported_repo_breeds":[],\r
199 +    "kernel_file":"pxeboot(.*)",\r
200 +    "initrd_file":"mbr",\r
201 +    "isolinux_ok":false,\r
202 +    "default_kickstart":"",\r
203 +    "kernel_options":"",\r
204 +    "kernel_options_post":"",\r
205 +    "boot_files":[]\r
206 +   },\r
207 +   "9.2": {\r
208 +    "signatures":["boot"],\r
209 +    "version_file":"device\\.hints",\r
210 +    "version_file_regex":"^.*FreeBSD: release/9.2(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
211 +    "kernel_arch":"device\\.hints",\r
212 +    "kernel_arch_regex":"^.*FreeBSD: release/9.2(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
213 +    "supported_arches":["i386","amd64"],\r
214 +    "supported_repo_breeds":[],\r
215 +    "kernel_file":"pxeboot(.*)",\r
216 +    "initrd_file":"mbr",\r
217 +    "isolinux_ok":false,\r
218 +    "default_kickstart":"",\r
219 +    "kernel_options":"",\r
220 +    "kernel_options_post":"",\r
221 +    "boot_files":[]\r
222 +   },\r
223 +   "9.3": {\r
224 +    "signatures":["boot"],\r
225 +    "version_file":"device\\.hints",\r
226 +    "version_file_regex":"^.*FreeBSD: releng/9.3(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
227 +    "kernel_arch":"device\\.hints",\r
228 +    "kernel_arch_regex":"^.*FreeBSD: release/9.3(.*)/sys/(.*)/conf/GENERIC.hints.*$",\r
229 +    "supported_arches":["i386","amd64"],\r
230 +    "supported_repo_breeds":[],\r
231 +    "kernel_file":"pxeboot(.*)",\r
232 +    "initrd_file":"mbr",\r
233 +    "isolinux_ok":false,\r
234 +    "default_kickstart":"",\r
235 +    "kernel_options":"",\r
236 +    "kernel_options_post":"",\r
237 +    "boot_files":[]\r
238 +   },\r
239     "10.0": {\r
240 -    "signatures":["release"],\r
241 -    "version_file":"10\\.0\\-RELEASE",\r
242 -    "version_file_regex":null,\r
243 +    "signatures":["boot"],\r
244 +    "version_file":"freebsd-version",\r
245 +    "version_file_regex":"USERLAND_VERSION=\"10.0-RELEASE\"",\r
246 +    "kernel_arch":"device\\.hints",\r
247 +    "kernel_arch_regex":null,\r
248 +    "supported_arches":["i386","amd64"],\r
249 +    "supported_repo_breeds":[],\r
250 +    "kernel_file":"base.txz",\r
251 +    "initrd_file":"base.txz",\r
252 +    "isolinux_ok":false,\r
253 +    "default_kickstart":"",\r
254 +    "kernel_options":"",\r
255 +    "kernel_options_post":"",\r
256 +    "boot_files":[]\r
257 +   },\r
258 +   "10.1": {\r
259 +    "signatures":["boot"],\r
260 +    "version_file":"freebsd-version",\r
261 +    "version_file_regex":"USERLAND_VERSION=\"10.1-RELEASE\"",\r
262 +    "kernel_arch":"device\\.hints",\r
263 +    "kernel_arch_regex":null,\r
264 +    "supported_arches":["i386","amd64"],\r
265 +    "supported_repo_breeds":[],\r
266 +    "kernel_file":"base.txz",\r
267 +    "initrd_file":"base.txz",\r
268 +    "isolinux_ok":false,\r
269 +    "default_kickstart":"",\r
270 +    "kernel_options":"",\r
271 +    "kernel_options_post":"",\r
272 +    "boot_files":[]\r
273 +   },\r
274 +   "10.2": {\r
275 +    "signatures":["boot"],\r
276 +    "version_file":"freebsd-version",\r
277 +    "version_file_regex":"USERLAND_VERSION=\"10.2-RELEASE\"",\r
278      "kernel_arch":"device\\.hints",\r
279      "kernel_arch_regex":null,\r
280      "supported_arches":["i386","amd64"],\r
281 @@ -800,6 +1008,22 @@
282      "kernel_options":"",\r
283      "kernel_options_post":"",\r
284      "boot_files":["install.img"]\r
285 +   },\r
286 +   "xenserver650": {\r
287 +    "signatures":["packages.xenserver"],\r
288 +    "version_file":"^XS-REPOSITORY$",\r
289 +    "version_file_regex":"^.*product=\"XenServer\" version=\"6\\.5\\.([0-9]+)\".*$",\r
290 +    "kernel_arch":"xen\\.gz",\r
291 +    "kernel_arch_regex":"^.*(x86_64).*$",\r
292 +    "supported_arches":["x86_64"],\r
293 +    "supported_repo_breeds":[],\r
294 +    "kernel_file":"mboot\\.c32",\r
295 +    "initrd_file":"xen\\.gz",\r
296 +    "isolinux_ok":false,\r
297 +    "default_kickstart":"",\r
298 +    "kernel_options":"",\r
299 +    "kernel_options_post":"",\r
300 +    "boot_files":["install.img"]\r
301     }\r
302    },\r
303    "unix": {\r
304 -- 
305 1.9.1
306