13%
30.11.2025
Type yum
10 Arch noarch
11 Sync Schedule 10 0 * * *
12 Packages 10
13 Files 0
14 Distributions None
15 Publish True
16 Clones
13%
30.11.2025
interval="0" timeout="60"
06 op stop interval="0" timeout="60"
07 op monitor start-delay="0" interval="1200"
08 meta resource-stickiness="0" failure-timeout="180"
Listing 2
STONITH
13%
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
13%
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
13%
30.11.2025
------- ------ ----- ----- ----- ------ -- -----------
03 81 9 2392 3076 76 0.12 3996 AmIcoSinglun64
04 74 9 1464 2568 42 0.09 2172 armsvc
05 195 10 2380 2984 62 0
13%
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
13%
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
13%
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
13%
30.11.2025
",9009)},4,
04 {(1,0)=>WorkItem(bottom_func,(),false,(thunk(AST(lambda({},{{#1, #2}, {{#1, Any, 2}, {#2, Any, 2}}, {}},
05 begin
06 #1 = top(Array)(top(Any),2)
07 top(arrayset)(#1,1,"n0")
08 top(arrayset)(#1,2
13%
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