Andrew Onischuk created AMBARI-3653:
---------------------------------------
Summary: File: refactor, handle special exceptional situations,
support replace attribute, support absolute path for source files, default
don't backup
Key: AMBARI-3653
URL: https://issues.apache.org/jira/browse/AMBARI-3653
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 1.5.0
- Refactor the code, removing unnessarry features (touch action
- Handle special exceptional situations:
1) when file we are trying to create is a directory
2) when no parent directory of the file exists
3) when owner specified is not valid
4) when group specified is not vald
- Support replace attribute (we used that in puppet)
To allow not replacing the file if it is created, and has different content
- Support absoulute path for templates/static file (we used that in puppet)
This is equal to puppet 'source' attribute
- Kokki also supported backuping files, when their content is changed. By
default we should not do that
--
This message was sent by Atlassian JIRA
(v6.1#6144)