Sha256: de055f4b270c4f66b35fb8b98625c4d165ad278ba105f194759d5010b4df6b93

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module PodmanProvisioner
    class Plugin < Vagrant.plugin("2")
      name "podman"
      description <<-DESC
      Provides support for provisioning your virtual machines with
      OCI images and containers using Podman.
      DESC

      config(:podman, :provisioner) do
        require_relative "config"
        Config
      end

      guest_capability("redhat", "podman_install") do
        require_relative "cap/redhat/podman_install"
        Cap::Redhat::PodmanInstall
      end

      guest_capability("linux", "podman_installed") do
        require_relative "cap/linux/podman_installed"
        Cap::Linux::PodmanInstalled
      end

      provisioner(:podman) do
        require_relative "provisioner"
        Provisioner
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-unbundled-2.2.8.0 plugins/provisioners/podman/plugin.rb