14%
30.11.2025
("http://spacewalk.tuxgeek.de/cobbler_api")
06 token = conn.login(user, password)
07
08 cblr_systems = '/root/cobbler.csv'
09
10 if os.access(cblr_systems, os.F_OK):
11 print "Reading system configuration file %s" % cblr_systems
12
14%
30.11.2025
end (Figure 2).
Listing 3
update-dns
01 #!/usr/bin/perl
02
03 use DBI;
04
05 $db_user = "powerdns";
06 $db_passwd = "powerpass";
07
08 $hostname = $ARGV[0] . ".my.org";
09 $ip = $ARGV[1
14%
30.11.2025
can be installed on Red Hat Enterprise (RHEL) [3], Fedora [4], or CentOS [3] Linux. Note that Spacewalk does need a current Java Runtime Version 1.6.0 or newer. You can use the Open JDK for this; Fedora
14%
30.11.2025
/openvpn/keys/CA.crt
08 cert /etc/openvpn/keys/server.crt
09 key /etc/openvpn/keys/server.key
10 tls-auth /etc/openvpn/keys/tls-auth.key
11
12 server 192.168.1.0 255.255.255.0
13
14 keepalive 10 60
15 comp-lzo
16
17
14%
30.11.2025
. If a hostname is used it
06 * must match the reverse dns of the server.
07 * /
08 host = "10.42.0.1";
09
10 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
11
14%
30.11.2025
node1
192.168.56.101 (eth1)
10.0.2.1 (eth0)
node2
192.168.56.102 (eth1)
10.0.2.2 (eth0)
node3
192.168.56.103 (eth1)
10.0.2.3 (eth0
14%
31.10.2025
.168.2.14", "192.168.2.15";
06
07 logging to_file => "rex.log";
08
09 desc "Uptime estimate";
10 task "uptime", group => ["intranet", "accounting"], sub {
11 say run 'uptime';
12 };
Package Service
Listing
14%
30.11.2025
= DeltaCloud.new(USER, PASSWORD, URL)
05 summary = Hash.new(0)
06 state = client.instances.inject({}) do |state, inst|
07 state[inst.id] = inst.state
08 summary[inst.state] += 1
09 state
10 end
11
14%
30.11.2025
/bin/python
02
03 import func.overlord.client as fc
04
05 results = fc.Client("@ldap").service.status("dirsrv")
06
07 for (host, returns) in results.iteritems():
08 if returns == 0:
09 print host, "LDAP ... 3
14%
30.11.2025
.5-23
05 pve-kernel-2.6.24-11-pve: 2.6.24-23
06 qemu-server: 1.1-16
07 pve-firmware: 1.0-5
08 libpve-storage-perl: 1.0-13
09 vncterm: 0.9-2
10 vzctl: 3.0.23-1pve11
11 vzdump: 1.2-5
12 vzprocps: 2.0.11-1dso2