Skip to content
Snippets Groups Projects
Commit 5e8a8233 authored by Maksim Malchuk's avatar Maksim Malchuk
Browse files

Fix an issue when 'acl' package can be forgotten


This is folllowup on I69bf810632d09eddaa3983ae56e833debe9fd03b to
avoid user accidentely forgot the 'acl' package when override the
dev_tools_packages_default in their custom configuration. Also this
adds an ability to customise list of packages installed in addition
to the default list.

Change-Id: I03a826e98a18b158774ba100cfa2987299eb6c25
Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
parent db9ce40e
No related branches found
No related tags found
No related merge requests found
--- ---
# List of default packages to install. # List of default packages to install.
dev_tools_packages_default: dev_tools_packages_default:
# NOTE(mgoddard): The acl package is required for the setfacl command, used by
# become_user.
- acl
- bash-completion - bash-completion
- tcpdump - tcpdump
- vim - vim
# List of extra packages to install.
dev_tools_packages_extra: []
# List of required packages to install.
dev_tools_packages_system:
# NOTE(mgoddard): The acl package is required for the setfacl command, used by
# become_user.
- acl
# List of packages to install. # List of packages to install.
dev_tools_packages: "{{ dev_tools_packages_default }}" dev_tools_packages: "{{ dev_tools_packages_default + dev_tools_packages_extra + dev_tools_packages_system }}"
...@@ -444,6 +444,40 @@ that is signed by the key. ...@@ -444,6 +444,40 @@ that is signed by the key.
components: all components: all
signed_by: example-key.asc signed_by: example-key.asc
Development tools
=================
*tags:*
| ``dev-tools``
Development tools (additional OS packages) can be configured to be installed
on hosts. By default Ddvelopment tools are installed on all
``seed-hypervisor``, ``seed``, ``overcloud`` and ``infra-vms`` hosts.
The following variables can be used to set which packages to install:
* ``dev_tools_packages_default``: The list of packages installed by default.
(default is: ``bash-completion``, ``tcpdump`` and ``vim``)
* ``dev_tools_packages_extra``: The list of additional packages installed
alongside default packages. (default is an empty list)
In the following example, the list of default packages to be installed on all
hosts is modified to replace ``vim`` with ``emacs``. The ``bridge-utils``
package is added to all ``overcloud`` hosts:
.. code-block:: yaml
:caption: ``dev-tools.yml``
dev_tools_packages_default:
- bash-completion
- emacs
- tcpdump
.. code-block:: yaml
:caption: ``inventory/group_vars/overcloud/dev-tools``
dev_tools_packages_extra:
- bridge-utils
SELinux SELinux
======= =======
*tags:* *tags:*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment