class Kitchen::Provisioner::Ansible::Os::Suse
Public Instance Methods
install_command()
click to toggle source
# File lib/kitchen/provisioner/ansible/os/suse.rb, line 24 def install_command <<-INSTALL if [ ! $(which ansible) ]; then #{sudo_env('zypper')} ar #{@config[:python_sles_repo]} #{sudo_env('zypper')} ar #{@config[:ansible_sles_repo]} #{update_packages_command} #{sudo_env('zypper')} --non-interactive install ansible fi INSTALL end
update_packages_command()
click to toggle source
# File lib/kitchen/provisioner/ansible/os/suse.rb, line 36 def update_packages_command @config[:update_package_repos] ? "#{sudo_env('zypper')} --gpg-auto-import-keys ref" : nil end