Sha256: 8ddc209874d9cd8ff04b281e186056c1de9eae873f89b68121e88808e474524f

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

module VagrantPlugins
  module Sakura
    module OSType
      OS_TYPE_QUERIES = {
          "centos" => {
              "Tags.Name" => [%w(current-stable distro-centos)]
          },
          "centos6" => {
              "Tags.Name" => [%w(distro-centos distro-ver-6.10)]
          },
          "ubuntu" => {
              "Tags.Name" => [%w(current-stable distro-ubuntu)]
          },
          "ubuntu-16.04" => {
              "Tags.Name" => [%w(distro-ubuntu distro-ver-16.04.4)]
          },
          "ubuntu-18.04" => {
              "Tags.Name" => [%w(distro-ubuntu distro-ver-18.04)]
          },
          "debian" => {
              "Tags.Name" => [%w(current-stable distro-debian)]
          },
          "coreos" => {
              "Tags.Name" => [%w(current-stable distro-coreos)]
          },
          "rancheros" => {
              "Tags.Name" => [%w(current-stable distro-rancheros)]
          },
          "freebsd" => {
              "Tags.Name" => [%w(current-stable distro-freebsd)]
          },
      }

      def self.os_types
        OS_TYPE_QUERIES.keys
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-sakura-0.3.2 lib/vagrant-sakura/os_type.rb
vagrant-sakura-0.3.1 lib/vagrant-sakura/os_type.rb
vagrant-sakura-0.3.0 lib/vagrant-sakura/os_type.rb
vagrant-sakura-0.2.1 lib/vagrant-sakura/os_type.rb