Skip to content

Commit 1564840

Browse files
committed
Goss: change deprecated file.contains to file.contents
1 parent c54340d commit 1564840

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

goss_base.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@ file:
5656
owner: root
5757
group: root
5858
filetype: file
59-
contains:
59+
contents:
6060
- /^\s*# ulimit -Hn/
6161
/etc/sudoers:
6262
exists: true
6363
owner: root
6464
group: root
6565
filetype: file
66-
contains:
66+
contents:
6767
- '/%sudo ALL=\(ALL\) NOPASSWD: ALL/'
6868
- '/Defaults env_keep = "HTTP_PROXY HTTPS_PROXY NO_PROXY FTP_PROXY http_proxy https_proxy no_proxy ftp_proxy"/'
6969
/etc/locale.gen:
7070
exists: true
7171
owner: root
7272
group: root
7373
filetype: file
74-
contains:
74+
contents:
7575
- '/^en_US.UTF-8 UTF-8/'
7676

7777
user:

0 commit comments

Comments
 (0)