Skip to content

Commit

Permalink
library: add missing saltbox_facts lines
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Feb 2, 2025
1 parent aec6c01 commit e6133be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/saltbox_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ def load_and_save_facts(file_path, instance, keys, owner, group, mode):
config.set(instance, key, str(default_value))
facts[key] = default_value
changed = True

else:
facts[key] = current_value

else:
facts[key] = str(default_value)
config.set(instance, key, str(default_value))
Expand Down

0 comments on commit e6133be

Please sign in to comment.