Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. mine_functions:
  2. cmd.run: [echo hello]
  3.  
  4. salt 'test' mine.update
  5. salt 'test' mine.get 'test' cmd.run
  6. test:
  7. ----------
  8. test:
  9. hello
  10.  
  11. mine_functions:
  12. say_hello:
  13. mine_function:
  14. cmd.run: [echo hello]
  15.  
  16. mine_functions:
  17. say_hello:
  18. mine_function: cmd.run
  19. name: echo hello
  20.  
  21. mine_functions:
  22. say_hello:
  23. mine_function: cmd.run
  24. args: [echo hello]
  25.  
  26. salt 'test' mine.update
  27. salt 'test' mine.get 'test' say_hello
  28. test:
  29. ----------
  30. test:
  31. hello
  32.  
  33. mine_functions:
  34. say_hello:
  35. - mine_function: cmd.run
  36. - echo hello
  37.  
  38. salt 'test' mine.update
  39. salt 'test' mine.get 'test' say_hello
  40. test:
  41. ----------
  42. test:
  43. hello
  44.  
  45. mine_functions:
  46. say_hello:
  47. - mine_function: cmd.run
  48. - cmd: echo test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement