Sha256: ba2dd0491d832d858f78d3dfa3d97282865a80415c53dc3bd5b255cf28df1f75
Contents?: true
Size: 1.44 KB
Versions: 1
Compression:
Stored size: 1.44 KB
Contents
# # Copyright (c) 2013, Seth Chisamore # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require "vagrant/action/builder" module VagrantPlugins module Omnibus module Action autoload :InstallChef, File.expand_path("../action/install_chef", __FILE__) autoload :IsRunning, File.expand_path("../action/is_running", __FILE__) autoload :ReadChefVersion, File.expand_path("../action/read_chef_version", __FILE__) # Include the built-in modules so that we can use them as top-level # things. include Vagrant::Action::Builtin # @return [::Vagrant::Action::Builder] def self.install_chef @install_chef ||= ::Vagrant::Action::Builder.new.tap do |b| b.use ConfigValidate b.use Call, IsRunning do |env1, b2| if env1[:result] b2.use ReadChefVersion b2.use InstallChef b2.use SSHRun end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-omnibus-1.0.1 | lib/vagrant-omnibus/action.rb |