puppet facts

if Facter.value(:kernel) == 'Linux' Facter.add('ansible_python_interpreter') do setcode do ansible_python_interpreter = Facter::Core::Execution.exec('which python3') if ansible_python_interpreter.empty? ansible_python_interpreter = Facter::Core::Execution.exec('which python') end ansible_python_interpreter end end end if Facter.value(:kernel) == 'Linux'Facter.add(:tomcat) do confine operatingsystem:…

Continue Reading
Close Menu