https://github.com/itzg/chef-slurper
A little utility to bridge the worlds of Ansible and Chef
https://github.com/itzg/chef-slurper
Last synced: 11 months ago
JSON representation
A little utility to bridge the worlds of Ansible and Chef
- Host: GitHub
- URL: https://github.com/itzg/chef-slurper
- Owner: itzg
- License: apache-2.0
- Created: 2016-12-22T18:50:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T16:22:53.000Z (over 9 years ago)
- Last Synced: 2025-03-11T06:48:36.306Z (over 1 year ago)
- Language: Go
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A utility for slurping Chef definition files and showing/exporting info from those
```
Usage:
chef-slurper [command]
Available Commands:
i2c Exports an i2csshrc content
inventory Exports an Ansible inventory file
nodes A command to list (and filter) the nodes
Flags:
--config string config file (default is $HOME/.chef-slurper.yaml)
-n, --nodes string Location of your Chef nodes directory (default "./nodes")
--strip-role-prefix stringArray Prefixes to remove from role identifiers
Use "chef-slurper [command] --help" for more information about a command.
```
## Installation
### Mac OS
```
curl -sSL -o chef-slurper https://github.com/itzg/chef-slurper/releases/download/v1.0/chef-slurper_darwin_amd64
chmod +x chef-slurper
```