From 156484048d8754a425adc3af25ed802c2d2b5c66 Mon Sep 17 00:00:00 2001 From: Marcus Young Date: Fri, 20 Sep 2024 22:02:21 -0500 Subject: [PATCH] Goss: change deprecated file.contains to file.contents --- goss_base.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/goss_base.yaml b/goss_base.yaml index ec70b938..48569e92 100644 --- a/goss_base.yaml +++ b/goss_base.yaml @@ -56,14 +56,14 @@ file: owner: root group: root filetype: file - contains: + contents: - /^\s*# ulimit -Hn/ /etc/sudoers: exists: true owner: root group: root filetype: file - contains: + contents: - '/%sudo ALL=\(ALL\) NOPASSWD: ALL/' - '/Defaults env_keep = "HTTP_PROXY HTTPS_PROXY NO_PROXY FTP_PROXY http_proxy https_proxy no_proxy ftp_proxy"/' /etc/locale.gen: @@ -71,7 +71,7 @@ file: owner: root group: root filetype: file - contains: + contents: - '/^en_US.UTF-8 UTF-8/' user: