lib/chef/knife/bootstrap_windows_winrm.rb in knife-windows-3.0.11 vs lib/chef/knife/bootstrap_windows_winrm.rb in knife-windows-3.0.12
- old
+ new
@@ -14,23 +14,24 @@
# 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 "chef/knife"
require_relative "bootstrap_windows_base"
-require_relative "winrm"
require_relative "winrm_base"
-require_relative "winrm_knife_base"
+require_relative "winrm_knife_base" # WinrmCommandSharedFunctions
class Chef
class Knife
class BootstrapWindowsWinrm < Bootstrap
include Chef::Knife::BootstrapWindowsBase
include Chef::Knife::WinrmBase
include Chef::Knife::WinrmCommandSharedFunctions
deps do
+ require_relative "winrm"
require "chef/json_compat"
require "tempfile"
Chef::Knife::Winrm.load_deps
Chef::Knife::Bootstrap.load_deps
end