Sha256: 0b023812bd9acf278225e93e44d002086c2b81130f64340a0534d9312a603e82

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

#
# profile.rb
#
# Copyright (C) 2008,2009 Red Hat, Inc.
# Written by Darryl L. Pierce <dpierce@redhat.com>
# Extended 2012 by duritong <peter.meier@immerda.ch>
#
# This file is part of rubygem-cobbler.
#
# rubygem-cobbler is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 2.1 of the License, or
# (at your option) any later version.
#
# rubygem-cobbler 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 rubygem-cobbler.  If not, see <http://www.gnu.org/licenses/>.

# +Profile+ represents a single profile within Cobbler.
#
module Cobbler
    class Profile < Base
        cobbler_fields :name, :parent, :dhcp_tag, :depth, :virt_file_size,
        :virt_path, :virt_type, :repos, :distro, :server, :virt_bridge,
        :virt_ram, :virt_auto_boot, :kernel_options, :virt_cpus, :ks_meta,
        :kickstart
        
        cobbler_collection :owners
    end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cobbler-2.0.3 lib/cobbler/profile.rb
cobbler-2.0.2 lib/cobbler/profile.rb
cobbler-2.0.1 lib/cobbler/profile.rb
gapinc-cobbler-2.0.0 lib/cobbler/profile.rb
cobbler-2.0.0 lib/cobbler/profile.rb