Sha256: 09df7f17b7c3cd47e0bba54900ac5cc396cfc390d55529001c2bad0202596b67

Contents?: true

Size: 902 Bytes

Versions: 34

Compression:

Stored size: 902 Bytes

Contents

# Test plugin: `orphan_files`

The `orphan_files` test plugin checks that nodes don't have any file belonging to non-existing users or groups.

## Config DSL extension

### `ignore_orphan_files_from`

Give a list of paths to be ignored while checking for orphan files.
Useful when some paths are mounted file systems having files belonging to users that are not recognized on some nodes (like remote users).
Takes a list of paths (or a single path) as parameter.

Example:
```ruby
# Don't check mounted data files
for_nodes('/prod.*/') do
  ignore_orphan_files_from '/datalake'
end
```

## Used credentials

| Credential | Usage
| --- | --- |

## Used Metadata

| Metadata | Type | Usage
| --- | --- | --- |
| `local_node` | `Boolean` | Skip this test for nodes having this metadata set to `true` |

## Used environment variables

| Variable | Usage
| --- | --- |

## External tools dependencies

None

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.5 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.9.4 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.9.2 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.9.1 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.9.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.8.4 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.8.3 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.8.2 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.8.1 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.8.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.7.4 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.7.3 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.7.2 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.7.1 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.7.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.6.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.5.1 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.5.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.4.0 docs/plugins/test/orphan_files.md
hybrid_platforms_conductor-33.3.0 docs/plugins/test/orphan_files.md