rundeck-plugins / salt-step

Rundeck Salt Plugin
BSD 3-Clause "New" or "Revised" License
31 stars 30 forks source link

Compatibility with groovy settings #23

Open Hitamashi opened 6 years ago

Hitamashi commented 6 years ago

Problem

Rundeck supports groovy settings and normal java properties settings: http://rundeck.org/docs/administration/configuration-file-reference.html#groovy-config-format

In groovy format, the properties is surrounded by double quote. So when we settings _saltStep.​return​Handlers_ for additional configuration file, the plugin cannot open the file.

Solution

If the file string surrounded by double quotes, we remove it.

Works