Func Modules Merged yumjhand+rpms = packages (Release 0.8)

yumcmd release 0.8
The two func modules(yumjhand & rpms) merged in new module named ‘packages’

Here is link to code to try

Link to code

To list methods inside the module ‘packages’
[root@station77 ~]# func station66 call packages list_methods
{‘station66′: ['verify',
'glob',
'save_config',
'remove',
'inventory',
'install',
'groupinstall',
'groupremove',
'module_description',
'module_version',
'get_method_args',
'module_api_version',
'list_methods']}

To remove packages named ‘Fonts’
[root@station77 ~]# func station66 call packages groupremove Fonts
{‘station66′: ['paktype-fonts.noarch 0-2.0-2.fc8 - e',
'lohit-fonts-bengali.noarch 0-2.3.1-1.fc10 - e',
'jomolhari-fonts.noarch 0-0.003-5.fc10 - e',
'padauk-fonts.noarch 0-2.4-2.fc10 - e',
'lohit-fonts-tamil.noarch 0-2.3.1-1.fc10 - e',
'lklug-fonts.noarch 0-0.2.2-6.fc10 - e',
'liberation-fonts.noarch 0-1.04.92-1.fc10 - e',
'kacst-fonts.noarch 0-2.0-1.fc10 - e',
'cjkunifonts-uming.noarch 0-0.2.20080216.1-11.fc10 - e',
'abyssinica-fonts.noarch 0-1.0-2.fc8 - e',
'dejavu-fonts.noarch 0-2.26-2.fc10 - e',
'lohit-fonts-punjabi.noarch 0-2.3.1-1.fc10 - e',
'stix-fonts.noarch 0-0.9-7.fc10 - e',
'thaifonts-scalable.noarch 0-0.4.9-3.fc9 - e',
'un-core-fonts-dotum.noarch 0-1.0.2-0.6.080608.fc10 - e',
'lohit-fonts-kannada.noarch 0-2.3.1-1.fc10 - e',
'lohit-fonts-hindi.noarch 0-2.3.1-1.fc10 - e',
'smc-fonts-meera.noarch 0-04.1-1.fc10 - e',
'lohit-fonts-gujarati.noarch 0-2.3.1-1.fc10 - e',
'khmeros-fonts-base.noarch 0-5.0-3.fc10 - e',
'lohit-fonts-telugu.noarch 0-2.3.1-1.fc10 - e',
'lohit-fonts-maithili.noarch 0-2.3.1-1.fc10 - e',
'dejavu-fonts-experimental.noarch 0-2.26-2.fc10 - e',
'lohit-fonts-oriya.noarch 0-2.3.1-1.fc10 - e']}
[root@station77 ~]#

Help/Suggestions are welcome


yumcmd release 0.7

Func module yumcmd ver0.7 has been relaesd. In this release the new method named groupinstall() has been added.So now we can Install package-Groups on minions via Func.
To install the Package group on minion. Use the following command on Certmaster

#func host.domain.com call yumjhand groupinstall Fonts

[root@station77 ~]# func station66.meapay.com call –async yumjhand groupinstall Fonts
(‘station66.meapay.com’,
['paktype-fonts.noarch 0-2.0-2.fc8 - u',
'lohit-fonts-bengali.noarch 0-2.3.1-1.fc10 - u',
'jomolhari-fonts.noarch 0-0.003-5.fc10 - u',
'padauk-fonts.noarch 0-2.4-2.fc10 - u',
'lohit-fonts-tamil.noarch 0-2.3.1-1.fc10 - u',
'lklug-fonts.noarch 0-0.2.2-6.fc10 - u',
'liberation-fonts.noarch 0-1.04.92-1.fc10 - u',
'kacst-fonts.noarch 0-2.0-1.fc10 - u',
'cjkunifonts-uming.noarch 0-0.2.20080216.1-11.fc10 - u',
'abyssinica-fonts.noarch 0-1.0-2.fc8 - u',
'dejavu-fonts.noarch 0-2.26-2.fc10 - u',
'lohit-fonts-punjabi.noarch 0-2.3.1-1.fc10 - u',
'stix-fonts.noarch 0-0.9-7.fc10 - u',
'thaifonts-scalable.noarch 0-0.4.9-3.fc9 - u',
'un-core-fonts-dotum.noarch 0-1.0.2-0.6.080608.fc10 - u',
'lohit-fonts-kannada.noarch 0-2.3.1-1.fc10 - u',
'lohit-fonts-hindi.noarch 0-2.3.1-1.fc10 - u',
'smc-fonts-meera.noarch 0-04.1-1.fc10 - u',
'lohit-fonts-gujarati.noarch 0-2.3.1-1.fc10 - u',
'khmeros-fonts-base.noarch 0-5.0-3.fc10 - u',
'lohit-fonts-telugu.noarch 0-2.3.1-1.fc10 - u',
'lohit-fonts-maithili.noarch 0-2.3.1-1.fc10 - u',
'dejavu-fonts-experimental.noarch 0-2.26-2.fc10 - u',
'lohit-fonts-oriya.noarch 0-2.3.1-1.fc10 - u'])

if no package name is specified will display the follwoing out put

[root@station77 ~]# [root@station77 ~]# func station66.meapay.com call –async yumjhand groupinstall
(‘station66.meapay.com’, ['Please Enter a Group Name to install'])

Project Code

Project News/Wiki Page


yumcmd Release 0.6

Version 0.6 is released. The new method groupremove is added to this release.
So the particular group of package can be removed via func.

Click here to module Code

Project Wiki page


Follow

Get every new post delivered to your Inbox.