Advertisement
Guest User

Untitled

a guest
Jun 19th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. hdfs-tmpdir-absent:
  2. module.run:
  3. - name: hadoop.dfs_absent
  4. - path: /tmp_salt
  5.  
  6. hdfs-tmpdir-create:
  7. cmd.run:
  8. - onlyif:
  9. # - onfail:
  10. - module.run: hdfs-tmpdir-absent
  11. - user: hdfs
  12. - name: hdfs dfs -mkdir /tmp_salt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement