
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
13 lines
433 B
Plaintext
13 lines
433 B
Plaintext
[defaults]
|
|
hostfile=<%= @ansible_hostfile %>
|
|
library=/usr/share/ansible
|
|
log_path=/var/log/ansible.log
|
|
callback_plugins=<%= @ansible_callback_plugins_path %>
|
|
roles_path=<%= @ansible_roles_path %>
|
|
<% if ! [nil, :undef].include?(@retry_files_enabled) -%>
|
|
retry_files_enabled=<%= @retry_files_enabled %>
|
|
<% end -%>
|
|
<% if ! [nil, :undef].include?(@retry_files_save_path) -%>
|
|
retry_files_save_path=<%= @retry_files_save_path %>
|
|
<% end -%>
|