On puppet 4, undef will stop evaluating to :undef in the templates and
instead start evaluating to nil, so check for both to cover our bases.
Change-Id: I6e446cf1a15c9cc5e24f93e755fa3000298f7caa
This commit adds the code to manage a ansible callback_plugins directory
and sets in the ansible.cfg. This will be used for adding our own
callback plugins.
Change-Id: I697a74a5dbd63e9a87913c96a3e9be93ee7860da
Once we have standalone ansible roles, we don't need to embed the
ansible code in the puppet module. We also don't need to delete the
existing roles path, as the follow on standalone role should go in
place, but we want the existing role to exist in the mean time.
Change-Id: I76d5cab55942beaff44ea5f289f93ff6ce772c5f
Roles can contain embedded library code, which is how roles work when
you distribute them on ansible galaxy. Put the library there and remove
the old location to prepare for standalone modules.
Change-Id: Iaa7906f71bb0a3bc255695e72b6ae061407fa2b8
With split puppet master infrastructure ansible needs to be told which
puppetmaster to talk to. Do this by making puppetmaster a required
argument to the puppet ansible playbook.
Since we can't rely on the cert listing while this is happening also add
puppet master specific host list files which can be used to specify
which hosts talk to which puppetmaster via the new ansible playbook
feature.
Change-Id: I412c2bd6cb390d00d1b9d0e4630e75776edabbb9