Skip to content

Commit

Permalink
Merge pull request myoung34#395 from myoung34/goss_deprecation
Browse files Browse the repository at this point in the history
Goss: change deprecated file.contains to file.contents
  • Loading branch information
myoung34 authored Sep 23, 2024
2 parents c54340d + 1564840 commit cf3f558
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions goss_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@ 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:
exists: true
owner: root
group: root
filetype: file
contains:
contents:
- '/^en_US.UTF-8 UTF-8/'

user:
Expand Down

0 comments on commit cf3f558

Please sign in to comment.