blob: a91b20cff3446b5753b7815e79a3470aa1f2626a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
ruby-cobbler
============
Ruby bindings for interacting with Cobbler.
USAGE
-----
To use the code, you must install the ruby gem named "cobbler" and then
require 'cobbler' in your application.
Minimally you need to provide a server name for your Cobbler machine using:
Cobbler::Base.hostname = my.cobbler.server
If you intend to modify data on the Cobbler server, you'll need to also provide
a username and password that has authorization:
Cobbler::Base.username = username
Cobbler::Base.password = password
CONFIGURATION
-------------
By default, Cobbler::Base will load the file $SEARCHPATH/config/cobbler.yml,
if it exists, and use that information for talking to Cobbler. To override
where this file lives, set the COBBLER_ENV environment variable *before*
requiring the 'cobbler' file.
However, these values can be overridden afterward by changing the fields in
Cobbler::Base directly.
|