Skip to content

zap does not handle resources with conditionals #16

@nvwls

Description

@nvwls

Given the following recipe:

file '/etc/foo.d/a'

file '/etc/foo.d/b' do
  not_if { true }
end

zap_directory '/etc/foo.d'

/etc/foo.d/b should be removed.

zap should examine only_if and not_if conditionals attached to resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions