diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-03-29 15:36:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-03-29 15:36:04 +0000 |
| commit | 6d407a3af20cfb6e94c2c7dc4060462547cb313b (patch) | |
| tree | d4b6289623854fac56fa8cd97dd4da5a13e2b749 /docker | |
| parent | 1ef8a4895ecb3e93f0c010d25a0e05aef4541322 (diff) | |
| parent | d2c8372e99315d5071cca97d83a941f99e66dbd0 (diff) | |
| download | kolla-6d407a3af20cfb6e94c2c7dc4060462547cb313b.tar.gz kolla-6d407a3af20cfb6e94c2c7dc4060462547cb313b.zip | |
Merge "make yum fail on missing packages"
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/macros.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2 index 143d15bcc..05aef9dcb 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -1,7 +1,7 @@ {% macro install_packages(packages) -%} {% if packages is defined and packages|length > 0 -%} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] -%} - RUN yum -y install {{ packages | join(' ') }} && yum clean all + RUN yum --setopt skip_missing_names_on_install=False -y install {{ packages | join(' ') }} && yum clean all {%- elif base_distro in ['ubuntu', 'debian'] -%} {#- debian_package_install is a utility method to build up an appropriate |
