2023-08-10 16:53:25 -04:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2014-10-22 17:40:08 -04:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
|
|
module VagrantPlugins
|
2014-10-22 22:29:23 -04:00
|
|
|
module NoopDeploy
|
2014-10-22 17:40:08 -04:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2014-10-22 22:29:23 -04:00
|
|
|
name "noop"
|
2014-10-22 17:40:08 -04:00
|
|
|
description <<-DESC
|
2014-10-22 22:29:23 -04:00
|
|
|
Literally do nothing
|
2014-10-22 17:40:08 -04:00
|
|
|
DESC
|
|
|
|
|
|
2014-10-22 22:29:23 -04:00
|
|
|
config(:noop, :push) do
|
2014-10-22 17:40:08 -04:00
|
|
|
require File.expand_path("../config", __FILE__)
|
|
|
|
|
Config
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-22 22:29:23 -04:00
|
|
|
push(:noop) do
|
2014-10-22 17:40:08 -04:00
|
|
|
require File.expand_path("../push", __FILE__)
|
|
|
|
|
Push
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|