2025-12-22 06:16:54 -05:00
|
|
|
# Copyright IBM Corp. 2010, 2025
|
2023-08-10 16:53:25 -04:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2012-04-19 00:53:19 -04:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
|
module Shell
|
2012-11-07 00:21:36 -05:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 00:53:19 -04:00
|
|
|
name "shell"
|
|
|
|
|
description <<-DESC
|
|
|
|
|
Provides support for provisioning your virtual machines with
|
|
|
|
|
shell scripts.
|
|
|
|
|
DESC
|
|
|
|
|
|
2013-01-13 18:48:52 -05:00
|
|
|
config(:shell, :provisioner) do
|
|
|
|
|
require File.expand_path("../config", __FILE__)
|
|
|
|
|
Config
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
provisioner(:shell) do
|
2012-05-23 19:07:08 -04:00
|
|
|
require File.expand_path("../provisioner", __FILE__)
|
|
|
|
|
Provisioner
|
|
|
|
|
end
|
2012-04-19 00:53:19 -04:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|