Skip to content

Commit

Permalink
Update example for profile::volumes::devices
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Aug 23, 2024
1 parent b33446a commit 34bde3f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ LVM volume automatically. These operations currently have to be accomplished man

| Variable | Description | Type |
| :--------- | :----------------------------------------------------------------------------- | :---------------------------------------- |
| `devices` | Hash of devices: `{ tag : { volume_name: [array of glob expressing paths] } }` | Hash[String, Hash[String, Array[String]]] |
| `devices` | Hash of devices | Hash[String, Hash[String, Hash]] |

<details>
<summary>default values</summary>
Expand All @@ -1468,8 +1468,18 @@ profile::volumes::devices: "%{lookup('terraform.self.volumes')}"

```yaml
profile::volumes::devices:
local:
temp:
- /dev/vdc
"local":
"tmp":
"glob": "/dev/vdc",
"size": 100,
#"bind_mount": true,
#"bind_target": "/tmp",
#"owner": "root",
#"group": "root",
#"mode": "0755",
#"seltype": "home_root_t",
#"enable_resize": false,
#"filesystem": "xfs",
#"quota": nil
```
</details>

0 comments on commit 34bde3f

Please sign in to comment.