Hello
Problem:
I am trying to import salt states from a salt smart proxy.
I am getting the error “Failed to list states for : undefined method `each’ for “VALUE_TRIMMED”:String”
The salt installation is functionnal and the state.highstates do actually work properly
Expected outcome:
Foreman and Proxy versions:
2.1.0 for both
Foreman and Proxy plugin versions:
ruby-smart-proxy-salt 2.1.9
Distribution and version:
Debian 10 Buster, for Foreman Server, and the Salt Master Server
Other relevant data:
salt is version 2019.2.5, packages from salstack official repo
logs from /var/log/foreman-proxy/proxy.log
2020-07-15T17:29:58 09efce37 [E] Failed to list states for : undefined method each' for "VALUE_TRIMMED":String 2020-07-15T17:29:58 09efce37 [W] Error details for Failed to list states for : undefined method
each’ for “VALUE_TRIMMED”:String: : Failed to list states for : undefined method each' for "VALUE_TRIMMED":String 2020-07-15T17:29:58 09efce37 [W] Failed to list states for : undefined method
each’ for “VALUE_TRIMMED”:String: : Failed to list states for : undefined method `each’ for “VALUE_TRIMMED”:String