diff --git a/docs/templates/template_reference.md b/docs/templates/template_reference.md index f9dce3432ec6..3a0fd9816b37 100644 --- a/docs/templates/template_reference.md +++ b/docs/templates/template_reference.md @@ -568,7 +568,7 @@ The only way to remediate is to recompile and reinstall the kernel, so no remedi state uses operation "greater than or equal" to compare the collected package version with the version in the OVAL state. -- Languages: Anaconda, Ansible, Bash, OVAL, Puppet, Blueprint +- Languages: Anaconda, Ansible, Bash, OVAL, Puppet, Blueprint, Kickstart #### package_removed - Checks if the given package is not installed. @@ -577,7 +577,7 @@ The only way to remediate is to recompile and reinstall the kernel, so no remedi - **pkgname** - name of the RPM or DEB package, eg. `tmux` -- Languages: Anaconda, Ansible, Bash, OVAL, Puppet +- Languages: Anaconda, Ansible, Bash, OVAL, Puppet, Kickstart #### key_value_pair_in_file Checks if a given key and value are configured in a file. @@ -704,7 +704,7 @@ When the remediation is applied duplicate occurrences of `key` are removed. If **daemonname** is not specified it means the name of the daemon is the same as the name of service. -- Languages: Ansible, Bash, OVAL, Puppet, Ignition, Kubernetes, Blueprint +- Languages: Ansible, Bash, OVAL, Puppet, Ignition, Kubernetes, Blueprint, Kickstart #### service_enabled - Checks if a system service is enabled. Uses either systemd or SysV @@ -723,7 +723,7 @@ When the remediation is applied duplicate occurrences of `key` are removed. If **daemonname** is not specified it means the name of the daemon is the same as the name of service. -- Languages: Ansible, Bash, OVAL, Puppet, Blueprint +- Languages: Ansible, Bash, OVAL, Puppet, Blueprint, Kickstart #### shell_lineinfile - Checks shell variable assignments in files. Remediations will paste diff --git a/linux_os/guide/system/software/integrity/endpoint_security_software/mcafee_security_software/mcafee_endpoint_security_software/package_mcafeetp_installed/rule.yml b/linux_os/guide/system/software/integrity/endpoint_security_software/mcafee_security_software/mcafee_endpoint_security_software/package_mcafeetp_installed/rule.yml index 32d5d95479fd..4702328d4fab 100644 --- a/linux_os/guide/system/software/integrity/endpoint_security_software/mcafee_security_software/mcafee_endpoint_security_software/package_mcafeetp_installed/rule.yml +++ b/linux_os/guide/system/software/integrity/endpoint_security_software/mcafee_security_software/mcafee_endpoint_security_software/package_mcafeetp_installed/rule.yml @@ -60,3 +60,4 @@ template: anaconda: "off" puppet: "off" blueprint: "off" + kickstart: "off" diff --git a/shared/templates/package_installed/kickstart.template b/shared/templates/package_installed/kickstart.template new file mode 100644 index 000000000000..be0fc1de8355 --- /dev/null +++ b/shared/templates/package_installed/kickstart.template @@ -0,0 +1,7 @@ +# platform = multi_platform_rhel,multi_platform_fedora +# reboot = false +# strategy = enable +# complexity = low +# disruption = low + +package install {{{ PKGNAME }}} diff --git a/shared/templates/package_installed/template.yml b/shared/templates/package_installed/template.yml index 35a987a52da8..3d81d611ccae 100644 --- a/shared/templates/package_installed/template.yml +++ b/shared/templates/package_installed/template.yml @@ -5,3 +5,4 @@ supported_languages: - oval - puppet - blueprint + - kickstart diff --git a/shared/templates/package_removed/kickstart.template b/shared/templates/package_removed/kickstart.template new file mode 100644 index 000000000000..486ebbbdc047 --- /dev/null +++ b/shared/templates/package_removed/kickstart.template @@ -0,0 +1,7 @@ +# platform = multi_platform_rhel,multi_platform_fedora +# reboot = false +# strategy = disable +# complexity = low +# disruption = low + +package remove {{{ PKGNAME }}} diff --git a/shared/templates/package_removed/template.yml b/shared/templates/package_removed/template.yml index f0e6c795fefd..7d7b50a93e13 100644 --- a/shared/templates/package_removed/template.yml +++ b/shared/templates/package_removed/template.yml @@ -4,3 +4,4 @@ supported_languages: - bash - oval - puppet + - kickstart diff --git a/shared/templates/service_disabled/kickstart.template b/shared/templates/service_disabled/kickstart.template new file mode 100644 index 000000000000..d1e39ae29078 --- /dev/null +++ b/shared/templates/service_disabled/kickstart.template @@ -0,0 +1,7 @@ +# platform = multi_platform_rhel,multi_platform_fedora +# reboot = false +# strategy = disable +# complexity = low +# disruption = low + +service disable {{{ DAEMONNAME }}} diff --git a/shared/templates/service_disabled/template.yml b/shared/templates/service_disabled/template.yml index 5df2dc54bf65..799afb2961b7 100644 --- a/shared/templates/service_disabled/template.yml +++ b/shared/templates/service_disabled/template.yml @@ -6,3 +6,4 @@ supported_languages: - oval - puppet - blueprint + - kickstart diff --git a/shared/templates/service_enabled/kickstart.template b/shared/templates/service_enabled/kickstart.template new file mode 100644 index 000000000000..451af774ae93 --- /dev/null +++ b/shared/templates/service_enabled/kickstart.template @@ -0,0 +1,7 @@ +# platform = multi_platform_rhel,multi_platform_fedora +# reboot = false +# strategy = disable +# complexity = low +# disruption = low + +service enable {{{ DAEMONNAME }}} diff --git a/shared/templates/service_enabled/template.yml b/shared/templates/service_enabled/template.yml index 228f9885f70b..53084c33753b 100644 --- a/shared/templates/service_enabled/template.yml +++ b/shared/templates/service_enabled/template.yml @@ -4,3 +4,4 @@ supported_languages: - oval - puppet - blueprint + - kickstart