Advertisement
Guest User

Untitled

a guest
Aug 5th, 2014
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $ cat /srv/salt/base/_modules/hello.py
  2. import salt
  3. def world():
  4. return "hello world"
  5.  
  6. $ salt local saltutil.sync_all
  7. local:
  8. ----------
  9. grains:
  10. modules:
  11. - modules.hello
  12. outputters:
  13. renderers:
  14. returners:
  15. states:
  16.  
  17. $ salt local hello.world
  18. local:
  19. 'hello.world' is not available.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement