Closed jaymzh closed 4 years ago
Facebook, and presumably others, have scripts that do things like:
CHEFCTL_PATH = '/path/to/chefctl.rb' require_relative CHEFCTL_PATH Chefctl.lib.load_config(Chefctl::DEFAULT_CONFIG) Chefctl.lib.check_user Chefctl.lib.stop_or_wait_for_chef
Which of course is fragile and a bit hacky. Instead, lets just provide an option -w to chefctl that does this.
-w
@davide125 merged this pull request in facebook/chef-utils@a28ab4924298dbc2f5fab73df4be99e94b4d2761.
Facebook, and presumably others, have scripts that do things like:
Which of course is fragile and a bit hacky. Instead, lets just provide an option
-w
to chefctl that does this.