Description of problem:
If install_type is not defined, exec defaults to false.
In cloud images for environment with limited network, it is common that the chef client packages are already present in the RHEL image.
force_install = util.get_cfg_option_bool(chef_cfg,
if not is_installed() or force_install:
run = install_chef(cloud, chef_cfg, log)
run = util.get_cfg_option_bool(chef_cfg, 'exec', default=False)
run = False
This behaviour should either be documented or should be changed.
Version-Release number of selected component (if applicable):
all versions since chef option was available
Steps to Reproduce:
1. Build an image with chef client.
2. Use this example or similar example which does not have install_type.
chef does not run
chef client runs & performs the tasks.