chef / chef-apply

The ad-hoc execution tool for the Chef ecosystem.
https://www.chef.sh/
Apache License 2.0
14 stars 14 forks source link

Feature Request: Inventory support for chef-run #195

Open kmf opened 6 years ago

kmf commented 6 years ago

It's known that toml sucks less. (when compared to yaml)

chef-run myservers:beta package ntp action=install

chef-run myservers package nginx

could support various train attributes

[myservers]
[myservers.alpha]
host = "10.0.0.1"
user = "root"
keys = keyfile

[myservers.beta]
host = "10.0.0.2"
user = "jon"
password = "something"

Can support cookbook attributes

package = "nginx"
nginx.port = 8080
nginx.log_dir = '/data/var/log/nginx/'

Just an idea @jonsmorrow

cheeseplus commented 6 years ago

This was already in our backlog when we announced but we've not looked at specifying attributes as that starts to blow out the scope in unexpected ways.

kmf commented 6 years ago

Thanks :) Will the format be similar to toml?

robbkidd commented 6 years ago

It is likely that an inventory format will be in TOML because TOML is less badder.

it is known

cheeseplus commented 6 years ago

As we already use TOML for our config I don't see any reason why we'd use another format either.

kmf commented 4 years ago

@marcparadise @tyler-ball any movement on this?

kmf commented 4 years ago

INI support like Ansible?