Sha256: f0742012a441e167577afc12826939e830cfd4b95c076e60b1590ffbba2f571d

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

module SaltedRails
  class CloudVbguestInstaller < VagrantVbguest::Installers::Ubuntu
    def install(opts=nil, &block)
      communicate.sudo("apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11", opts, &block)
      @vb_uninstalled = true
      super
    end

    def running?(opts=nil, &block)
      return false if @vb_uninstalled
      super
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
salted-rails-0.0.9 lib/salted-rails/cloud_vbguest_installer.rb
salted-rails-0.0.8 lib/salted-rails/cloud_vbguest_installer.rb
salted-rails-0.0.7 lib/salted-rails/cloud_vbguest_installer.rb
salted-rails-0.0.6 lib/salted-rails/cloud_vbguest_installer.rb
salted-rails-0.0.5 lib/salted-rails/cloud_vbguest_installer.rb