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

service_rsyncd_disabled - update package name to rsync-daemon #6783

Merged
merged 3 commits into from
Apr 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
documentation_complete: true

prodtype: rhel7,ol7,rhel8,ol8,fedora,rhv4,rhcos4,sle15
prodtype: rhel7,ol7,rhel8,ol8,fedora,rhv4,sle15

title: 'Ensure rsyncd service is diabled'

Expand Down Expand Up @@ -33,4 +33,7 @@ template:
name: service_disabled
vars:
servicename: rsyncd
packagename: rsync
packagename: rsync-daemon
packagename@rhel7: rsync
packagename@ol7: rsync
packagename@sle15: rsync
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# platform = Red Hat Enterprise Linux 8,Oracle Linux 8,multi_platform_fedora,multi_platform_rhv
# packages = rsync-daemon

systemctl stop rsyncd
systemctl disable rsyncd
systemctl mask rsyncd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
# platform = Red Hat Enterprise Linux 8,Oracle Linux 8,multi_platform_fedora,multi_platform_rhv
# packages = rsync-daemon

systemctl start rsyncd
systemctl enable rsyncd