Rundeck local execution is case sensitive on osFamily = "windows" #1727

Closed
eblikstad opened this Issue Mar 5, 2016 · 0 comments

Projects

None yet

2 participants

@eblikstad

I'm running Rundeck 2.5.3 on Windows and I figured out howto run local comand on the Rundeck server. The osFamily attribute on the Rundeck node has to be "windows".

The source code in the ExecTaskParameterGeneratorImpl.java uses equals on the string which is case sensitive.
if ("windows".equals(nodeentry.getOsFamily())) {

For readability we used the string "Windows" in the osFamily attribute.

Rundeck version: 2.5.3 launcher
OS: Windows Server 2012 R2
Java JDK: 1.7.0_80

@gschueler gschueler added the bug label Mar 7, 2016
@gschueler gschueler added this to the 2.6.9 milestone Jul 7, 2016
@gschueler gschueler self-assigned this Jul 7, 2016
@gschueler gschueler added a commit that closed this issue Jul 7, 2016
@gschueler gschueler fix #1727 0eb107d
@gschueler gschueler closed this in 0eb107d Jul 7, 2016
@gschueler gschueler removed the in progress label Jul 7, 2016
@variacode95 variacode95 pushed a commit to variacode95/rundeck that referenced this issue Jul 20, 2016
@gschueler @parth-kloudscript gschueler + parth-kloudscript fix #1727 1967279
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment