summaryrefslogtreecommitdiffstats
path: root/contrib/ruby/lib
Commit message (Collapse)AuthorAgeFilesLines
* Adds support for the XMLRPC changes for Cobbler 1.5.Darryl L. Pierce2009-03-053-41/+72
| | | | | | | | | | | Some additional features added as a result is the ability to debug a connection. If Base.debug is set to true then all communication between the client and server is sent to stdout. Also fixed the list_systems.rb example to show the image on which a system is based if it's not based on a profile. And some minor cleanup to those particular source modules.
* Add additional attributes to the ruby image api.Bryan Kearney2008-11-121-4/+4
|
* Merge branch 'add-save-method-to-image' into develDarryl L. Pierce2008-11-041-23/+40
|\
| * Submitted by Bryan Kearney (bkearney@redhat.com)Darryl L. Pierce2008-10-241-23/+40
| | | | | | | | Adds a save method to Image.
* | Moved the implementation of the reposync code back to action_reposync.py and ↵Michael DeHaan2008-11-031-1/+1
|/ | | | did some general cleanup. Also some work on XMLRPC RW tests (not finished).
* Fixed the remove meta-method. Previously it was creating a class methodDarryl L. Pierce2008-10-231-25/+30
| | | | rather than an instance method.
* Added support for image-based systems.Darryl L. Pierce2008-10-106-92/+72
| | | | Also refactored the metaprogramming to fix a nil bug that surfaced.
* Fixes for getting rubygem-cobbler reviewed for Fedora.Darryl L. Pierce2008-08-267-64/+78
| | | | | | - Fixed the licensing in each source module to show the code is released under LGPLv2.1. - Added %check to the spec file to run tests prior to creating the RPM.
* Added an update call prior to saving or updating a system.Darryl L. Pierce2008-08-211-2/+5
|
* The auth_token is now cached as Cobbler::Base@@auth_token.Darryl L. Pierce2008-08-145-28/+57
| | | | | Also fixed up some documentation and how properties are handled that are either arrays of values or hashes.
* Added support for images to the Ruby bindings.Darryl L. Pierce2008-08-135-34/+99
| | | | Also fixed some of the decoding for interfaces returned for systems. But I'm not happy with that binding still.
* Fix typo in error messageMichael DeHaan2008-08-041-3/+2
|
* Ruby bindings for the Cobbler XMLRCP interface.Darryl L. Pierce2008-08-046-0/+560
This first pass is very simple, only wrapping the Distro, Profile and System objects and the NetworkInterface type. All classes extended a class named Base, and all are in the Cobbler module. Configuration is held within the config/cobbler.yml file, but can be overridden at runtime. Unit tests, examples, etc. are also provided.