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

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s