aboutsummaryrefslogtreecommitdiffstats
path: root/mcp
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:52:17 +0200
commit3fd2f2d4dc1d46495cf02041f95450664390e09b (patch)
tree68f1a8748f1d14875c94079868d2b59fb52cca24 /mcp
parent3472473854b2756cc070e71de9213c8c82f36f6e (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')
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j22
-rw-r--r--mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2
index 7f3839e82..a1653d51a 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2
@@ -73,6 +73,8 @@ parameters:
config:
prefer_ipv4:
Acquire::ForceIPv4: true
+ allow_downgrades:
+ APT::Get::allow-downgrades: true
user:
ubuntu:
enabled: true
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml b/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml
index ede41940a..772d0880b 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml
+++ b/mcp/reclass/classes/cluster/mcp-pike-common-noha/infra/init.yml
@@ -15,6 +15,8 @@ parameters:
config:
prefer_ipv4:
Acquire::ForceIPv4: true
+ allow_downgrades:
+ APT::Get::allow-downgrades: true
network:
host:
cfg01: