Puppet agent update from 6.22 to 6.23
1. Repo clean
$ ansible -i host-list all -a "yum clean all" -b -K
2. Install/update package
$ ansible -i host-list all -m yum -a "name=puppet-agent-6.23.0-1.el17.x86_64 state=present" -b -K
3. Verify
$ ansible 0i host-list all -o -a "rpm -q puppet-agent" | sort
4. Run aide audit
$ ansible -i host-list all -a "aide --init" -b -K
5. Verify file is created
$ ansible -i host-list all -o -a "ls -l /var/lib/aide/aide.db.new.gz" -b -K | sort
6. Copy new file and overwrite the old one.
$ ansible -i host-list all -a "cp -av /var/lib/aide/aide.db.new.gz /var/lib/aide.db.gz"
Verify
$ ansible -i host-list all -o -a "rpm -q puppet-agent" | sort
Monday, June 28, 2021
RHEL7 - Puppet agent update
Subscribe to:
Post Comments (Atom)
Git branch show detached HEAD
Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03) 00 2. Run re-set hard $ git reset --hard 3. ...
-
snmpconfig command allow you to managge snmpv1/v3 agent configuration on SAN switch. Event trap level is mapped with event severity level....
-
Firmware upgrade on HPE SuperDom Flex 280 - prerequisites tasks a. Set up repo b. Upload firmware to your webserver 1. For foundation so...
-
Disabling the Telnet protocol on Brocade SAN switches By default, telnet is enabled on Brocade SAN switches. As part of security hardening o...
No comments:
Post a Comment