Skip to content

Commit

Permalink
Tests are successful
Browse files Browse the repository at this point in the history
  • Loading branch information
Akm0d committed Aug 26, 2024
1 parent 3efe737 commit 8ae4426
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 26 deletions.
9 changes: 5 additions & 4 deletions soluble/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"default": all_opts["config_dir"].default + "/minion",
"help": "Path to the minion configuration template. Defaults to '/etc/salt/minion' or the master's default minion config",
},
"salt_config_dir": {
"default": all_opts["config_dir"].default,
"help": all_opts["config_dir"].help.replace("%", ""),
},
"node_prefix": {
"default": "ephemeral-node-",
"help": "A prefix to add to the ephemeral minion id",
Expand Down Expand Up @@ -71,10 +75,7 @@
"subcommands": ["minion"],
"help": "The salt command to run on the ephemeral nodes",
},
"salt_config_dir": {
"default": all_opts["config_dir"].default,
"help": all_opts["config_dir"].help.replace("%", ""),
},
"salt_config_dir": {},
"salt_options": {
"positional": True,
"display_priority": 3,
Expand Down
5 changes: 4 additions & 1 deletion soluble/soluble/init.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from soluble.conf import CLI_CONFIG


def __init__(hub):
hub.soluble.RUN = {}
hub.pop.sub.add(dyne_name="lib")
Expand Down Expand Up @@ -30,7 +33,7 @@ def cli(hub):
salt_ssh_opts = []

# Turn salt-ssh opts into a string
for name, opts in hub._dynamic["soluble"]["CLI_CONFIG"].items():
for name, opts in CLI_CONFIG.items():
if opts.get("group", "").lower() != "salt-ssh":
continue

Expand Down
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
Empty file removed tests/unit/__init__.py
Empty file.
17 changes: 0 additions & 17 deletions tests/unit/conftest.py

This file was deleted.

Empty file removed tests/unit/soluble/__init__.py
Empty file.
4 changes: 0 additions & 4 deletions tests/unit/soluble/test_init.py

This file was deleted.

0 comments on commit 8ae4426

Please sign in to comment.