Sha256: 133569fbf6058f4e7dbcfa61cd3b4357e5b40b9c48dfeaa2596fac84f9a4b4cd
Contents?: true
Size: 1.03 KB
Versions: 48
Compression:
Stored size: 1.03 KB
Contents
module Ridley module CommandContext # Context class for generating an uninstall command for Unix based OSes class WindowsUninstall < CommandContext::Windows template_file 'windows_uninstall_omnibus' # @return [Boolean] attr_reader :skip_chef # @option options [Boolena] :skip_chef (false) # skip removal of the Chef package and the contents of the installation # directory. Setting this to true will only remove any data and configurations # generated by running Chef client. def initialize(options = {}) super(options) options = options.reverse_merge(skip_chef: false) @skip_chef = options[:skip_chef] end # The path to the Chef configuration directory on the target host # # @return [String] def config_directory "C:\\chef" end # The path to the Omnibus Chef installation on the target host # # @return [String] def install_directory "C:\\opscode\\chef" end end end end
Version data entries
48 entries across 48 versions & 2 rubygems