Guest User

Untitled

a guest
Jul 16th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. [root@puppet ~]# func 'rhel6' call yumcmd list_methods
  2. {'rhel6.nathanpowell.org': ['save_config',
  3. 'grep',
  4. 'rpmdbVersion',
  5. 'update',
  6. 'remove',
  7. 'check_update',
  8. 'get_package_lists',
  9. 'install',
  10. 'config_items',
  11. 'module_version',
  12. 'grep',
  13. 'list_methods',
  14. 'module_description',
  15. 'get_method_args',
  16. 'module_api_version']}
  17. [root@puppet ~]# func 'rhel6' call yumcmd --verbose update
  18. {'rhel6.nathanpowell.org': ['REMOTE_ERROR',
  19. 'func.minion.codes.InvalidMethodException',
  20. '',
  21. ' 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']}
  22. [root@puppet ~]# func 'rhel6' call command run 'func --version'
  23. ('rhel6.nathanpowell.org',
  24. [0,
  25. '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',
  26. ''])
Add Comment
Please, Sign In to add comment