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 is taking the chef-server username as an login credential for the windows Nodes. #70

Open
cpkatragadda opened this issue Dec 16, 2016 · 1 comment

Comments

@cpkatragadda
Copy link

cpkatragadda commented Dec 16, 2016

I have integrated Rundeck with the chef-server using chef-rundeck ruby gem and using sinatra I was able to load all the nodes information into rundeck from chef-server. But while executing the jobs Rundeck was authenticating with the nodes using chef-server's username. How can I over ride the username using plugin configuration? As shown in the attachment 'ckatraga' was my chef server login username. Can anyone please help me with this.
Plugin I was using: https://github.com/rundeck-plugins/rundeck-winrm-plugin
rundecknode
rundeckauth

@stephen-dayman
Copy link

I've done this in the past by creating a json file describing your projects and specifying a username. For example,

cat /etc/chef/rundeck.json
{
"lab1": {
"hostname": "ipaddress",
"username": "ubuntu",
"pattern": "chef_environment:lab1 AND NOT (name:jump OR name:rundeck)"
}
}

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

2 participants