Note
Legend
- mod
- Module name
- fun
- Function name (in module)
# Core lib imports | |
from binascii import a2b_hex | |
# Yubico lib imports | |
from ykman import driver_ccid as CCID | |
from ykman import piv as PIV | |
objCCIDDevices = CCID.open_devices() | |
driverCCID = objCCIDDevices.next() |
connector_path=/home/pi/yubihsm/yubihsm-connector | |
hsm1_serial=123456 | |
hsm1_listen=172.16.16.10:1111 | |
hsm2_serial=4234234 | |
hsm2_listen=172.16.16.10:2222 |
The goal of this test was to build an orchestration file that can execute commands on a non-minion via salt-ssh. | |
<event> -> <reactor> -> <reactor sls> -> <orchestration file> -> <ssh commands> | |
Flow: | |
- salt-call event.send ssh/test '{"hostid": "minion-deb8-py2"}' | |
- event is dropped on the eventbus with a hostid to target commands | |
- reactor file triggers orchestration |