1717require_relative '../bolt/transport/jail'
1818require_relative '../bolt/transport/local'
1919require_relative '../bolt/transport/lxd'
20- require_relative '../bolt/transport/orch'
2120require_relative '../bolt/transport/podman'
2221require_relative '../bolt/transport/remote'
2322require_relative '../bolt/transport/ssh'
@@ -29,7 +28,6 @@ module Bolt
2928 jail : Bolt ::Transport ::Jail ,
3029 local : Bolt ::Transport ::Local ,
3130 lxd : Bolt ::Transport ::LXD ,
32- pcp : Bolt ::Transport ::Orch ,
3331 podman : Bolt ::Transport ::Podman ,
3432 remote : Bolt ::Transport ::Remote ,
3533 ssh : Bolt ::Transport ::SSH ,
@@ -511,24 +509,6 @@ def prompt(prompt, options)
511509 value
512510 end
513511
514- # Plan context doesn't make sense for most transports but it is tightly
515- # coupled with the orchestrator transport since the transport behaves
516- # differently when a plan is running. In order to limit how much this
517- # pollutes the transport API we only handle the orchestrator transport here.
518- # Since we call this function without resolving targets this will result
519- # in the orchestrator transport always being initialized during plan runs.
520- # For now that's ok.
521- #
522- # In the future if other transports need this or if we want a plan stack
523- # we'll need to refactor.
524- def start_plan ( plan_context )
525- transport ( 'pcp' ) . plan_context = plan_context
526- end
527-
528- def finish_plan ( plan_result )
529- transport ( 'pcp' ) . finish_plan ( plan_result )
530- end
531-
532512 def without_default_logging
533513 publish_event ( type : :disable_default_output )
534514 yield
0 commit comments