Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@puppet ~]# func 'rhel6' call yumcmd list_methods
- {'rhel6.nathanpowell.org': ['save_config',
- 'grep',
- 'rpmdbVersion',
- 'update',
- 'remove',
- 'check_update',
- 'get_package_lists',
- 'install',
- 'config_items',
- 'module_version',
- 'grep',
- 'list_methods',
- 'module_description',
- 'get_method_args',
- 'module_api_version']}
- [root@puppet ~]# func 'rhel6' call yumcmd --verbose update
- {'rhel6.nathanpowell.org': ['REMOTE_ERROR',
- 'func.minion.codes.InvalidMethodException',
- '',
- ' File "/usr/lib/python2.6/site-packages/func/minion/server.py", line 316, in _dispatch\n return self.get_dispatch_method(method)(*params)\n File "/usr/lib/python2.6/site-packages/func/minion/server.py", line 162, in get_dispatch_method\n raise codes.InvalidMethodException\n']}
- [root@puppet ~]# func 'rhel6' call command run 'func --version'
- ('rhel6.nathanpowell.org',
- [0,
- 'version: 0.26\nrelease: 1\nsource build date: Tue Sep 21 15:27:50 EDT 2010\ngit commit: 31eab6652863c93d1040065453a6c2a25126f1fd\ngit date: Mon Sep 20 14:39:34 2010 -0400\n',
- ''])
Add Comment
Please, Sign In to add comment