You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to add multiple SendEnv lines to a config file using something like
ssh::config_files:
'50-redhat':
lines:
SendEnv: LANG
SendEnv: LC_TIME
this result in just the last entry being included in the file
Using
lines:
SendEnv:
- LANG
- LC_TIME
Gets "Error while evaluating a Resource Statement, Ssh::Config_file_client[50-redhat]: parameter 'lines' entry 'SendEnv' expects a String value, got Tuple"
Using
custom:
- 'SendEnv LANG'
- 'SendEnv LC_TIME'
Works - as you would expect (as its just copied to the file) - just misses out on the validation.
The text was updated successfully, but these errors were encountered:
Hi
Trying to add multiple SendEnv lines to a config file using something like
ssh::config_files:
'50-redhat':
lines:
SendEnv: LANG
SendEnv: LC_TIME
this result in just the last entry being included in the file
Using
lines:
SendEnv:
- LANG
- LC_TIME
Gets "Error while evaluating a Resource Statement, Ssh::Config_file_client[50-redhat]: parameter 'lines' entry 'SendEnv' expects a String value, got Tuple"
Using
custom:
- 'SendEnv LANG'
- 'SendEnv LC_TIME'
Works - as you would expect (as its just copied to the file) - just misses out on the validation.
The text was updated successfully, but these errors were encountered: