diff --git a/app/views/unattended/provisioning_templates/snippet/puppet.conf.erb b/app/views/unattended/provisioning_templates/snippet/puppet.conf.erb index 5a7bd5bade3..c313d996706 100644 --- a/app/views/unattended/provisioning_templates/snippet/puppet.conf.erb +++ b/app/views/unattended/provisioning_templates/snippet/puppet.conf.erb @@ -12,7 +12,7 @@ description: | os_family = @host.operatingsystem.family os_name = @host.operatingsystem.name - aio_enabled = host_param_true?('enable-puppetlabs-repo') || host_param_true?('enable-official-puppet8-repo') || host_param_true?('enable-official-puppet7-repo') || host_param_true?('enable-puppet7') || host_param_true?('enable-puppetlabs-puppet6-repo') || host_param_true?('enable-puppet6') || host_param_true?('enable-puppetlabs-puppet5-repo') || host_param_true?('enable-puppet5') + aio_enabled = host_param_true?('enable-puppetlabs-repo') || host_param_true?('enable-official-puppet8-repo') || host_param_true?('enable-puppet8') || host_param_true?('enable-official-puppet7-repo') || host_param_true?('enable-puppet7') || host_param_true?('enable-puppetlabs-puppet6-repo') || host_param_true?('enable-puppet6') || host_param_true?('enable-puppetlabs-puppet5-repo') || host_param_true?('enable-puppet5') aio_available = os_family == 'Debian' || os_family == 'Redhat' || os_name == 'SLES' if os_family == 'Windows' diff --git a/app/views/unattended/provisioning_templates/snippet/puppet_setup.erb b/app/views/unattended/provisioning_templates/snippet/puppet_setup.erb index 38cb12ee24a..3183fe3d692 100644 --- a/app/views/unattended/provisioning_templates/snippet/puppet_setup.erb +++ b/app/views/unattended/provisioning_templates/snippet/puppet_setup.erb @@ -17,7 +17,7 @@ os_family = @host.operatingsystem.family os_major = @host.operatingsystem.major.to_i os_name = @host.operatingsystem.name -aio_enabled = host_param_true?('enable-puppetlabs-repo') || host_param_true?('enable-official-puppet8-repo') || host_param_true?('enable-official-puppet7-repo') || host_param_true?('enable-puppet7') || host_param_true?('enable-puppetlabs-puppet6-repo') || host_param_true?('enable-puppet6') || host_param_true?('enable-puppetlabs-puppet5-repo') || host_param_true?('enable-puppet5') +aio_enabled = host_param_true?('enable-puppetlabs-repo') || host_param_true?('enable-official-puppet8-repo') || host_param_true?('enable-puppet8') || host_param_true?('enable-official-puppet7-repo') || host_param_true?('enable-puppet7') || host_param_true?('enable-puppetlabs-puppet6-repo') || host_param_true?('enable-puppet6') || host_param_true?('enable-puppetlabs-puppet5-repo') || host_param_true?('enable-puppet5') if host_param('run-puppet-in-installer-tags') puppet_tags = host_param('run-puppet-in-installer-tags')