On Tue, 2010-08-10 at 15:22 -0400, "S.Çağlar Onur" wrote:
> Hi,
>
> Attached version adds a config option called allow_unknown_minions (False by
> default) and renames extend_hostname_to_fqdn to get_all_host_aliases which
> returns a flat list instead of a tuple. Tested with
>
> import func.overlord.client as fc
>
> for i in ["*", "www.planet-lab.org", "planetlab-02.cs.princeton.edu", "www",
> "planetlab-02", "www;planetlab-02",
> "www.planet-lab.org;planetlab-02.cs.princeton.edu"]:
> for j in [True, False]:
> try:
> print i,j
> my_overlord = fc.Overlord(i, delegate=j)
> print my_overlord.command.run("true")
> except:
> print "ERROR"
> print "\n\n"
>
> on following hierarchy
>
> [boot.planet-lab.org-rc18] ~ # cat /var/lib/func/map
> ---
> www.planet-lab.org:
> planetlab-01.cs.princeton.edu: {}
> planetlab-02.cs.princeton.edu: {}
> planetlab-03.cs.princeton.edu: {}
> planetlab-04.cs.princeton.edu: {}
> planetlab-05.cs.princeton.edu: {}
> planetlab-06.cs.princeton.edu: {}
>
>
ACK
please apply it.
thanks
-sv
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list