Feature: chef-server integration #41
Labels
Aspect: Integration
Works correctly with other projects or systems.
Triage: Confirmed
Indicates and issue has been confirmed as described.
Triage: Feature Request
Indicates an issue requesting new functionality.
Description
Combining 2 issues around chef-server integration
Inventory from Chef-Server via Search
This is a feature request(todo) and something to think about. Would be great to get a list of target nodes(names to display and IPs for connection with
-a ipaddress
) from chef-server by using a query, similar toknife ssh QUERY COMMAND (options)
Examples:
chef-run -t 'roles:www AND chef_environment:dev' -a ipaddress package ntp action=install
chef-run -t 'roles:www AND chef_environment:dev' -a ipaddress service httpd action=restart
or
chef-run 'Q@roles:www AND chef_environment:dev' -a ipaddress service httpd action=restart
Execute target nodes against chef-server content
It would be awesome to also be able to use against a chef server, i think it would only work against already bootstrapped nodes, unless workstation is modified to also have the ability to bootstrap. I know there is knife ssh but i think chef workstation is a better interface and the idea of a inventory file to come is great for orchestration. we currently do this with ansible as i have found it easier to use than knife ssh for our use case for blue green deployments.
The text was updated successfully, but these errors were encountered: