Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rundeck error from OSFamily set to winnt #67

Open
dmitarb opened this issue May 31, 2016 · 0 comments
Open

Rundeck error from OSFamily set to winnt #67

dmitarb opened this issue May 31, 2016 · 0 comments

Comments

@dmitarb
Copy link

dmitarb commented May 31, 2016

I am getting the following error on Rundeck 2.6.6 (Windows 2012R2 server) when using the URL resource:

Execute failed: java.io.IOException: Cannot run program "\bin\sh": CreateProcess error=2, The system cannot find the file specified
11:26:02 Failed: NonZeroResultCode: Result code was -1
11:26:02 Execution failed: 5290: [Workflow result: , step failures: {2=Dispatch failed on 1 nodes: [server.domain.com: NonZeroResultCode: Result code was -1]}, Node failures: {server.domain.com=[NonZeroResultCode: Result code was -1]}, status: failed]

When I change the lib/chef-rundeck.rb line 174 from:

os_family = node['kernel_os'] =~ /winnt|windows/i ? 'winnt' : 'unix'

to:
os_family = node['kernel_os'] =~ /winnt|windows/i ? 'windows' : 'unix'

my job executes successfully.

Is there a know issue for this?

@dmitarb dmitarb changed the title Rundeck error feom OSFamily set to winnt Rundeck error from OSFamily set to winnt May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant