[AArch64] salt.control.virt support
[fuel.git] / mcp / patches / reclass-system-salt-model / 0003-system.repo-Pin-glusterfs-with-higher-prio.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Mon, 18 Jun 2018 15:53:31 +0200
11 Subject: [PATCH] system.repo: Pin glusterfs with higher prio
12
13 When both glusterfs PPA repo and MCP repos are used on the same node,
14 the MCP repos used to take priority and install a predefined version
15 no matter the configuration for GlusterFS PPA.
16
17 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
18 ---
19  linux/system/repo/glusterfs.yml | 4 ++++
20  1 file changed, 4 insertions(+)
21
22 diff --git a/linux/system/repo/glusterfs.yml b/linux/system/repo/glusterfs.yml
23 index fb331f0f..71d063ac 100644
24 --- a/linux/system/repo/glusterfs.yml
25 +++ b/linux/system/repo/glusterfs.yml
26 @@ -9,3 +9,7 @@ parameters:
27            architectures: amd64
28            key_id: 3FE869A9
29            key_server: keyserver.ubuntu.com
30 +          pin:
31 +          - package: '*'
32 +            pin: release o=LP-PPA-gluster-glusterfs-${_param:glusterfs_version}
33 +            priority: 1100