Sha256: f88bad2f13725ca7f940ec14ab08c80258fdb8f1442ea2b5850fc8e5369f4895

Contents?: true

Size: 704 Bytes

Versions: 5

Compression:

Stored size: 704 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module GuestVyatta
    class Plugin < Vagrant.plugin("2")
      name "Vyatta guest"
      description "Vyatta guest support."

      guest("vyatta", "debian") do
        require File.expand_path("../guest", __FILE__)
        Guest
      end

      guest_capability("vyatta", "halt") do
        require_relative "cap/halt"
        Cap::Halt
      end

      guest_capability("vyatta", "configure_networks") do
        require_relative "cap/configure_networks"
        Cap::ConfigureNetworks
      end

      guest_capability("vyatta", "change_host_name") do
        require_relative "cap/change_host_name"
        Cap::ChangeHostName
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-vyatta-0.0.5 lib/vagrant-vyatta/plugin.rb
vagrant-vyatta-0.0.4 lib/vagrant-vyatta/plugin.rb
vagrant-vyatta-0.0.3 lib/vagrant-vyatta/plugin.rb
vagrant-vyatta-0.0.2 lib/vagrant-vyatta/plugin.rb
vagrant-vyatta-0.0.1 lib/vagrant-vyatta/plugin.rb