Commit 278518a
committed
chefctl: fix a hard-coded path
This adds a configuration for `chef_config_dir` where we can look for
the prod cert link rather than assuming `/etc/chef` - so that those
using cinc can use chefctl more easily.
The default is, of course `/etc/chef` so nothing will change for anyone
not specifying this config.
Side note, what I really wanted to do was create a `client_distro`, and
then build the defaults based on _that_, but to allow people to still be
able to overwrite _that_ requires significant refactoring, using the new
`default(..)` syntax for mixlib-config and then creating a method for
most of the configs, and that seemed like too much change for something
so small, so I did not.
Signed-off-by: Phil Dibowitz <phil@ipom.com>1 parent f306454 commit 278518a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
249 | 252 | | |
250 | 253 | | |
251 | 254 | | |
252 | | - | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| |||
0 commit comments