mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix function to check during smartos_vmadm beacon virtual
This commit is contained in:
parent
f611ede1ea
commit
4eda4c0917
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def __virtual__():
|
|||
"""
|
||||
Provides vmadm beacon on SmartOS
|
||||
"""
|
||||
if "imgadm.list" in __salt__:
|
||||
if "vmadm.list" in __salt__:
|
||||
return True
|
||||
else:
|
||||
err_msg = "Only available on SmartOS compute nodes."
|
||||
|
|
Loading…
Add table
Reference in a new issue