Sha256: b3f1c3bef16c65c6ab48fd8b7cdfd7a7b480c66f969dc1775fa3afc908bd8916

Contents?: true

Size: 526 Bytes

Versions: 62

Compression:

Stored size: 526 Bytes

Contents

module VagrantPlugins
  module CFEngine
    module Cap
      module SUSE
        module CFEngineInstall
          def self.cfengine_install(machine, config)
            machine.communicate.tap do |comm|
              comm.sudo("rpm --import #{config.repo_gpg_key_url}")

              comm.sudo("zypper addrepo -t YUM #{config.yum_repo_url} CFEngine")
              comm.sudo("zypper se #{config.package_name} && zypper -n install #{config.package_name}")
            end
          end
        end
      end
    end
  end
end

Version data entries

62 entries across 55 versions & 7 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb