diff options
Diffstat (limited to 'share/hydra/compile')
-rwxr-xr-x | share/hydra/compile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/hydra/compile b/share/hydra/compile index 14dd68c..8734f81 100755 --- a/share/hydra/compile +++ b/share/hydra/compile @@ -73,13 +73,16 @@ echo "sshkeys:" >> $CONFIG for node in $NODES; do if [ -e "$FACTS/${node}.yaml" ]; then + echo "Processing $node..." + + # Get key info rsakey="`hydractl_get_yaml_ssh_key $FACTS/${node}.yaml rsa`" sshed25519key="`hydractl_get_yaml_ssh_key $FACTS/${node}.yaml ed25519`" sshecdsakey="`hydractl_get_yaml_ssh_key $FACTS/${node}.yaml ecdsa`" + # SSH ports host_aliases="" ssh_ports="`hydra_hiera_query $node sshd::ports`" - echo $ssh_ports if [ "$ssh_ports" != "nil" ] && [ ! -z "$ssh_ports" ]; then ssh_ports="`echo $ssh_ports | sed -e 's/\[//g' -e 's/\]//g' -e 's/,//g'`" |