Created
April 30, 2026 10:36
-
-
Save jay7x/e22bad9544eef71fcf28866921f29b75 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@almalinux10-64-openvox8 /]# puppet facts show os | |
| { | |
| "os": { | |
| "architecture": "x86_64", | |
| "distro": { | |
| "codename": "Heliotrope Lion", | |
| "description": "AlmaLinux release 10.1 (Heliotrope Lion)", | |
| "id": "AlmaLinux", | |
| "release": { | |
| "full": "10.1", | |
| "major": "10", | |
| "minor": "1" | |
| } | |
| }, | |
| "family": "RedHat", | |
| "hardware": "x86_64", | |
| "name": "AlmaLinux", | |
| "release": { | |
| "full": "10.1", | |
| "major": "10", | |
| "minor": "1" | |
| }, | |
| "selinux": { | |
| "enabled": false | |
| }, | |
| "support": { | |
| "end": "2035-06-01" | |
| } | |
| } | |
| } | |
| [root@almalinux10-64-openvox8 /]# dnf install -y rsyslog | |
| Last metadata expiration check: 0:11:20 ago on Thu Apr 30 10:22:37 2026. | |
| Dependencies resolved. | |
| =================================================================================================================================================== | |
| Package Architecture Version Repository Size | |
| =================================================================================================================================================== | |
| Installing: | |
| rsyslog x86_64 8.2506.0-2.el10 appstream 819 k | |
| Transaction Summary | |
| =================================================================================================================================================== | |
| Install 1 Package | |
| Total download size: 819 k | |
| Installed size: 2.8 M | |
| Downloading Packages: | |
| rsyslog-8.2506.0-2.el10.x86_64.rpm 5.5 MB/s | 819 kB 00:00 | |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Total 764 kB/s | 819 kB 00:01 | |
| Running transaction check | |
| Transaction check succeeded. | |
| Running transaction test | |
| Transaction test succeeded. | |
| Running transaction | |
| Preparing : 1/1 | |
| Installing : rsyslog-8.2506.0-2.el10.x86_64 1/1 | |
| Running scriptlet: rsyslog-8.2506.0-2.el10.x86_64 1/1 | |
| Created symlink '/etc/systemd/system/multi-user.target.wants/rsyslog.service' → '/usr/lib/systemd/system/rsyslog.service'. | |
| fchownat() of /dev/snd/seq failed: Operation not permitted | |
| fchownat() of /dev/snd/timer failed: Operation not permitted | |
| fchownat() of /dev/loop-control failed: Operation not permitted | |
| fchownat() of /dev/kvm failed: Operation not permitted | |
| fchownat() of /dev/vhost-net failed: Operation not permitted | |
| fchownat() of /dev/vhost-vsock failed: Operation not permitted | |
| Installed: | |
| rsyslog-8.2506.0-2.el10.x86_64 | |
| Complete! | |
| [root@almalinux10-64-openvox8 /]# systemctl enable --now rsyslog | |
| [root@almalinux10-64-openvox8 /]# cat test.pp | |
| package { 'rsyslog-logrotate': ensure => 'absent' } | |
| package { 'rsyslog': ensure => 'absent' } | |
| [root@almalinux10-64-openvox8 /]# puppet apply test.pp --debug | |
| Debug: Runtime environment: puppet_version=8.26.1, ruby_version=3.2.11, run_mode=user, openssl_version='OpenSSL 3.0.20 7 Apr 2026', openssl_fips=false, default_encoding=UTF-8 | |
| [...] | |
| Info: Applying configuration version '1777545264' | |
| Debug: Prefetching dnf resources for package | |
| Debug: Executing: '/usr/bin/rpm --version' | |
| Debug: Executing '/usr/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' | sort' | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog-logrotate --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog-logrotate --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides' | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog-logrotate --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog-logrotate --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides' | |
| Debug: Executing: '/usr/bin/rpm -e rsyslog' | |
| Notice: /Stage[main]/Main/Package[rsyslog-logrotate]/ensure: removed | |
| Debug: /Package[rsyslog-logrotate]: The container Class[Main] will propagate my refresh event | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n' | |
| Debug: Executing: '/usr/bin/rpm -q rsyslog --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n --whatprovides' | |
| Debug: Executing: '/usr/bin/rpm -e rsyslog' | |
| Error: Execution of '/usr/bin/rpm -e rsyslog' returned 1: error: package rsyslog is not installed | |
| Error: /Stage[main]/Main/Package[rsyslog]/ensure: change from '8.2506.0-2.el10' to 'absent' failed: Execution of '/usr/bin/rpm -e rsyslog' returned 1: error: package rsyslog is not installed | |
| Debug: Class[Main]: Resource is being skipped, unscheduling all events | |
| Info: Class[Main]: Unscheduling all events on Class[Main] | |
| Debug: Stage[main]: Resource is being skipped, unscheduling all events | |
| [...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment