Skip to content

Commit

Permalink
feat: merge all host commands under HOST_INFO_PROPERTIES
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Jan 15, 2024
1 parent d4e2249 commit 650a906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dice_lib/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def __init__(
"purchase_date": FacterCommand(command="node_info.purchase_date"),
}

HOST_INFO_PROPERTIES = {**HOST_PROPERTIES, **PUPPET_COMMANDS, **FACTER_COMMANDS}


def execute_remote_commands(
hostname: str, username: str, commands: dict[str, HostCommand]
Expand Down

0 comments on commit 650a906

Please sign in to comment.