lib/mixlib/install.rb in mixlib-install-1.2.4 vs lib/mixlib/install.rb in mixlib-install-2.0.0

- old
+ new

@@ -15,12 +15,10 @@ # 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. # -raise "mixlib-install v1 has been deprecated, please update to v2+. See https://discourse.chef.io/t/end-of-life-announcement-for-chef-software-inc-s-bintray-account/9807/1 for more information." - require "mixlib/versioning" require "mixlib/shellout" require "mixlib/install/backend" require "mixlib/install/options" @@ -182,16 +180,8 @@ # base_url [String] # url pointing to the omnitruck to be queried by the script. # def self.install_ps1(context = {}) Mixlib::Install::Generator::PowerShell.install_ps1(context) - end - - # - # Returns if unified_backend feature flag for mixlib-install is enabled - # - # @return [Boolean] true if feature is enabled, false otherwise. - def self.unified_backend? - !ENV["MIXLIB_INSTALL_UNIFIED_BACKEND"].nil? end end end