Lothiraldan / saltpad

A gui and cli to manage saltstack deployments
Other
661 stars 149 forks source link

Async loading of loadOptions for functionSelector does not work #164

Open mjgorman opened 8 years ago

mjgorman commented 8 years ago

Latest master, no functions show up when i try to run a job, unless you copy from a template, then only that function will show up in the list and load a docstring.

Lothiraldan commented 8 years ago

Hi @mjgorman, it's a known problem and I plan to ship the next version of saltpad with a set of known functions. I also need to find the best way to "search" function on salt-api without putting too much load on everyone cluster.

In the mean time, you can run sys.list_functions and saltpad will catch the functions names returned.

mjgorman commented 8 years ago

Good info, thanks @Lothiraldan

Lothiraldan commented 8 years ago

@mjgorman If it works for you now, could you please close the issue? I plan to improve this part in a next release.

mjgorman commented 8 years ago

Pulled latest master. Behavior is different now. I get "No Results Found" rather than continuous searching of nothing. Workaround of running sys.list_functions still works.