aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-07-02 15:50:27 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-07-02 15:50:27 +0200
commit440f345f1c51d7b5ffaff9bc9c86ba1561949c46 (patch)
treeb3802abce70c7d1695f491da0b0705e675824d4b /mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
parentd6d2348ee690768101ff661c7811c25d9c65c104 (diff)
[apt] Allow downgrades during APT operations
Pinning certain packages (e.g. OVS) interfers with `dist-upgrade` if downgrades are not explicitly allowed. Change-Id: I0b001936e86228037c30f30812e32d6221ef458d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
index c01042f54..931dd1bab 100644
--- a/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
@@ -72,6 +72,8 @@ parameters:
config:
prefer_ipv4:
Acquire::ForceIPv4: true
+ allow_downgrades:
+ APT::Get::allow-downgrades: true
user:
ubuntu:
enabled: true