this is problematic if we override default mounts by setting ensure: absent
Details
Details
no diffs on workers
Diff Detail
Diff Detail
- Repository
- rSPSITE puppet-swh-site
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 17252 Build 26636: arc lint + arc unit
Event Timeline
site-modules/profile/manifests/mountpoints.pp | ||
---|---|---|
26 | shouldn't the mount be conditional to the ensure value too ? |
site-modules/profile/manifests/mountpoints.pp | ||
---|---|---|
26 | * => $mount_config will override all the default: values with ones that come from the $mount_config hash. So, when ensure => absent is passed in the config, that'll carry over to the resource. |
site-modules/profile/manifests/mountpoints.pp | ||
---|---|---|
26 | Ah yes, you are right. powerful feature (too for me :) ) |