Skip to content

Commit 45ece9c

Browse files
author
Kevin Paulisse
committed
Missed the group in the example output
1 parent 62778cf commit 45ece9c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/advanced-filter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,24 @@ file { '/etc/some-file':
4242
}
4343
```
4444

45-
Since the practical effect of the new catalog will be to remove the file, it doesn't matter that the owner of the (non-existent) file has changed from 'root' to 'bob', or that the content has changed from a string to undefined.
46-
47-
Now consider the default output without the filter:
45+
Since the practical effect of the new catalog will be to remove the file, it doesn't matter that the owner of the (non-existent) file has changed from 'root' to 'bob', or that the content and group has changed from a string to undefined. Consider the default output without the filter:
4846

4947
```
5048
File[/etc/some-file] =>
5149
parameters =>
5250
ensure =>
5351
- present
5452
+ absent
53+
group =>
54+
- nobody
5555
owner =>
5656
- root
5757
+ bob
5858
content =>
5959
- my content here
6060
```
6161

62-
And the output with `--filter AbsentFile`:
62+
Wouldn't it be nice if the meaningless information didn't appear, and all you saw was the transition you actually care about, from present to absent? With `--filter AbsentFile` it does just this:
6363

6464
```
6565
File[/etc/some-file] =>

0 commit comments

Comments
 (0)