Details
Description
The `registry_key` auto-require functionality doesn't appear to work with `->`
style relationships when `ensure => absent`. This results in a circular dependency:
Registry_key { ensure => absent }
|
registry_key { '#{keypath}\\SubKey1': }
|
-> registry_key { '#{keypath}\\SubKeyToPurge': }
|
-> registry_key { '#{keypath}': }
|
But this does not:
registry_key { '#{keypath}\\SubKey1': }
|
registry_key { '#{keypath}\\SubKeyToPurge': }
|
registry_key { '#{keypath}':
|
require => Registry_key['#{keypath}\\SubKeyToPurge', '#{keypath}\\SubKey1'],
|
}
|
Attachments
Issue Links
- is duplicated by
-
PUP-2903 Ensuring directory absent with recursing source fails
-
- Closed
-
-
PUP-7448 Unmount dependencies give problems
-
- Closed
-
- relates to
-
PUP-11375 Cannot ensure user absent and purge its ssh keys in same manifest
-
- Accepted
-
-
MODULES-1223 firewallchain try to be removed before it's firewall rules
-
- Resolved
-
-
PUP-3331 Custom Types should be able to call all levels of auto* relationships.
-
- Closed
-
- clones
(3 relates to, 1 clones)