Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Added check to only attempt loading rules and routes after the ufw is installed #5

Merged
merged 1 commit into from Aug 18, 2021

Conversation

ZloeSabo
Copy link
Collaborator

Changed to return an empty list of rules and routes if corresponding resources are running before the UFW is installed.

The resource metatype seem to ignore the ordering a attempts to load rules and routes at the beginning of every run. Perhaps this behavior is made on purpose to allow puppet to calculate a diff properly to purge unmanaged resources. But at the same time, it causes issues when puppet attempts to fetch the list before UFW package is installed.

@ZloeSabo ZloeSabo self-assigned this Aug 17, 2021
@ZloeSabo ZloeSabo force-pushed the bugfix/load-resources-only-after-ufw-installed branch 2 times, most recently from 96bc01a to 5db37c8 Compare August 18, 2021 08:17
…talled

Signed-off-by: Evgeny Soynov <esoynov@kogito.network>
@ZloeSabo ZloeSabo force-pushed the bugfix/load-resources-only-after-ufw-installed branch from 5db37c8 to 4aec466 Compare August 18, 2021 08:18
@ZloeSabo ZloeSabo merged commit 23cbc91 into main Aug 18, 2021
@ZloeSabo ZloeSabo added the bug Something isn't working label Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant