Facts Framework [UPDATE-delegation]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :

[root@fedorabig func]# func "*" call service status httpd
{'laptop': 0}

[root@fedorabig func]# func "*" call --delegate --filter "9 in os" service 
status httpd
{'laptop': 0}

[root@fedorabig func]# func "*" call --async --filter "9 in os" service status 
httpd
('laptop', 0)

[root@fedorabig func]# func "*" call --async --nopoll --filter "9 in os" 
service status httpd
JOB_ID: '*-service-status-1244285200.9726231'

[root@fedorabig func]# func "*" call --jobstatus *-service-
status-1244285200.9726231
(1, {'laptop': 0})

[root@fedorabig func]# func "*" call --delegate --filter "10 in os" service 
status httpd
{'virtual': 3}

[root@fedorabig func]# func "*" call --async --filter "10 in os" service status 
httpd

[root@fedorabig func]# func "*" call --async --nopoll --filter "10 in os" 
service status httpd
JOB_ID: '*-service-status-1244285263.5402391'

[root@fedorabig func]# func "*" call --jobstatus *-service-
status-1244285263.5402391
(1, {})
 

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux