# Copyright (c) 2013-2015 SUSE LLC # # This program is free software; you can redistribute it and/or # modify it under the terms of version 3 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, contact SUSE LLC. # # To contact SUSE about this file by physical or electronic mail, # you may find current contact information at www.suse.com # Zypper is a wrapper class around the zypper package manager # # Zypper offers access to the system-wide zypper environment, but it also allows # for running zypper in an isolated environment using 'Zypper.isolated'. # That way Machinery can safely add repositories and download packages without # polluting the host. class Zypper attr_accessor :zypper_options attr_accessor :zypp_config class < @zypp_config do LoggedCheetah.run *cmd end end end