Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install systemd-resolved on CentOS 8 and 9 #246

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

traylenator
Copy link
Contributor

@traylenator traylenator commented Feb 11, 2022

Pull Request (PR) description

On CentOS 8 and 9 systemd-resolved must be installed to use
systemd-resolved.

Install the package if manage_resolved is true which is not the default.

Since the systemd_internal_services fact will only be populated
once the package is installed a second puppet run will be required
to actually configure systemd-resolved.

On CentOS 8 and 9 systemd-resolved must be installed to use
systemd-resolved.

Install the package if `manage_resolved` is `true`.

Since the `systemd_internal_services` fact will only be populated
once the package is installed a second puppet run will be required
to actually configure systemd-resolved.
@traylenator traylenator added the enhancement New feature or request label Feb 11, 2022
@traylenator traylenator marked this pull request as ready for review February 11, 2022 14:32
@traylenator traylenator merged commit 450da0f into voxpupuli:master Feb 11, 2022
@traylenator traylenator deleted the install branch February 11, 2022 21:39
@olifre
Copy link
Contributor

olifre commented Feb 19, 2022

I cross-checked with a CentOS 8 Stream system, and the same seems to apply there (no separate systemd-resolved package, but contained in systemd).

traylenator added a commit to traylenator/puppet-systemd that referenced this pull request Feb 21, 2022
MR voxpupuli#246 started installing the `systemd-resolved` package
on RedHat 8 and 9 however this quite wrong for 8 where
systemd-resolved is not a sub package.

```
> rpm -qf /usr/bin/systemd-resolve
systemd-239-56.el8.x86_64
```
traylenator added a commit to traylenator/puppet-systemd that referenced this pull request Feb 21, 2022
Following voxpupuli#246 and voxpupuli#254 systemd-resolved was installed on family
RedHat 9 only.

On RedHat 7 a systemd-resolved package is now installed.

For information it is only RedHat 8 that does not have a systemd
resolved package.
traylenator added a commit to traylenator/puppet-systemd that referenced this pull request Feb 21, 2022
Following voxpupuli#246 and voxpupuli#254 systemd-resolved was installed on OS family
RedHat 9 only.

On RedHat 7 a systemd-resolved package is now installed as it is
available.

For information it is only RedHat 8 that does not have a systemd-resolved
package.
traylenator added a commit to traylenator/puppet-systemd that referenced this pull request Feb 21, 2022
Following voxpupuli#246 and voxpupuli#254 systemd-resolved was installed on OS family
RedHat 9 only.

On RedHat 7 a systemd-resolved package is now installed as it is
available.

For information it is only RedHat 8 that does not have a systemd-resolved
package.
traylenator added a commit to traylenator/puppet-systemd that referenced this pull request Feb 21, 2022
Following voxpupuli#246 and voxpupuli#254 systemd-resolved was installed on OS family
RedHat 9 only.

On RedHat 7 a systemd-resolved package is now installed as it is
available.

For information it is only RedHat 8 that does not have a systemd-resolved
package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants