Andrew Onischuk created AMBARI-3654:
---------------------------------------

             Summary: Directory: allow to ignore_failures, check exceptional 
cases, support recursive deleting
                 Key: AMBARI-3654
                 URL: https://issues.apache.org/jira/browse/AMBARI-3654
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.0


We do this for directory resource:
- Add attribute to ignore failures to create similar functionality the one 
hdp::directory_recursive_create_ignore_failure puppet class has. That can be 
add to all the resources as well
- Check exceptional situations.
1) when we are trying to create directory but file with this name exists
2) when we are trying to delete directory but file with this name exists
In this cases exceptions is suitable
- Support resursive deleting



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to