Hi again , i patched facts-extreme to be able to work with delegation actually
i didnt do too much just added a few if statements :) Also it works now with
--async polling parameter and --nopoll parameter on func commandline. Here
some examples for reference :
[r...@fedorabig func]# func "*" call service status httpd
{'laptop': 0}
[r...@fedorabig func]# func "*" call --delegate --filter "9 in os" service
status httpd
{'laptop': 0}
[r...@fedorabig func]# func "*" call --async --filter "9 in os" service status
httpd
('laptop', 0)
[r...@fedorabig func]# func "*" call --async --nopoll --filter "9 in os"
service status httpd
JOB_ID: '*-service-status-1244285200.9726231'
[r...@fedorabig func]# func "*" call --jobstatus *-service-
status-1244285200.9726231
(1, {'laptop': 0})
[r...@fedorabig func]# func "*" call --delegate --filter "10 in os" service
status httpd
{'virtual': 3}
[r...@fedorabig func]# func "*" call --async --filter "10 in os" service status
httpd
[r...@fedorabig func]# func "*" call --async --nopoll --filter "10 in os"
service status httpd
JOB_ID: '*-service-status-1244285263.5402391'
[r...@fedorabig func]# func "*" call --jobstatus *-service-
status-1244285263.5402391
(1, {})
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list