Advertisement
Guest User

Untitled

a guest
Jul 10th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. TypeError: can't serialize Undefined
  2.  
  3. ; line 25
  4.  
  5. ---
  6. [...]
  7. - name: {{ patches_done_dir }}
  8. - user: root
  9. - group: root
  10. - mode: 755
  11.  
  12. {%- for full_file in salt['cp.list_master'](saltenv=salt.environment, prefix=patches_source) -%} <======================
  13. {%- set file = full_file|replace(patches_source ~ '/', '') -%}
  14. {%- set done_file = grains.get('saltversion', 'unknown') ~ '_' ~ file|replace('/', '_') %}
  15. {{ full_file }}:
  16. cmd.run:
  17. - cwd: '/usr/lib/python2.7/dist-packages/salt'
  18. [...]
  19. ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement