Commit Graph

11 Commits

Author SHA1 Message Date
Gene Oden 71ecf3b13e Add support for the ArchLinux distribution
Change-Id: I352e049be2c98fddef01184282842946d937b27b
2024-01-03 00:22:52 +00:00
Dmitriy Rabotyagov 18b36137dc Ensure filename is always defined for network/netdev
Right now we define resulting filename in the loop itself, which limits
ability to predict expected filename for another loop where list might
get filtered.

So to get more expected behaviour between tasks we always add filename
to the elements in vars.

Change-Id: I579980ea3a5e9349d25885530c979649cb6dcb81
2023-12-08 17:51:16 +00:00
Jonathan Rosser d8af1100af Add centos-9 support
Change-Id: Ia6f9cc3222ecd467c3a52e25e1cb74f267aea836
2022-01-11 14:14:55 +00:00
James Denton 48a217bf2d Add GPG Key for EPEL8 Repo
The patch adds the GPG key for the EPEL 8 repo to allow gpgcheck
to be successful.

Change-Id: I6402d45ca541b8bb7a35ed73b63256f13c58e4f3
2020-11-02 10:22:15 +00:00
Dmitriy Rabotyagov 438e946a06 Add CentOS 8 support
Change-Id: I8eb7b1ce7cadc910386cfb8bf1d9b41194b2ecdd
2020-06-23 12:44:21 +03:00
Guilherme Steinmüller 342b297822 debian: add support
This patch updates the meta to reflect it's support
of Debian accordingly as well as rename ubuntu vars
file to debian.

Change-Id: If5147cb83c4b939a1ba7e3028641271689c02328
2019-04-09 00:46:33 +00:00
Kevin Carter 1cb76ab4ca
Make the networkd role distro agnostic
To make this role distro agnostic all of the variable configs have
been moved into defaults which will source private variables when
available using distro specific configs. This change will make it
possible to run this role on any distro, even if there's no distro
specific variable files.

Change-Id: I547edd2052c7e136b79d99e1b8e75e3aee68689d
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-14 15:28:08 -05:00
Jean-Philippe Evrard f402427b98 Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: Iba9c18dc4c48aebea9577499d0a7428f2d295162
2018-05-14 20:44:38 +02:00
Kevin Carter 12ae3acd6e
Add resolved to the networkd setup
If the new variable systemd_resolved is defined, resolved will be setup
within the environment. This will configure the global configuration
file and restart the service.

A test has been added to ensure this code path is exercised on every
commit. It should be noted that suse does not have a resolved package so
this functionality is disabled when a suse system is encountered. This
should be revised as soon as suse has resolved available.

Change-Id: I85278719bc5b7158244fd44c65d4366935555780
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-10 14:13:27 -05:00
Kevin Carter d8bcdc0341
Update initramfs when links change
In order to make the default link take effect initramfs needs to be
updated. This change also updates the default link to use the
recommended defaults from the systemd-networkd documentation.

Default link config:
- https://www.freedesktop.org/software/systemd/man/systemd.link.html#Examples

See this thread for bug info:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793374

Change-Id: I5430da4acad1e36b7593ad6791afbebf9e730bba
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-04-16 07:51:01 -05:00
Logan V cebf3b3482
Add base role tests
Depends-On: https://review.openstack.org/#/c/554402/
Change-Id: I3b270cc65aedaf9ef7375289b0ff7373b2c8d705
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-21 00:18:24 -05:00