You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2013/11/01 15:09:20 UTC

[jira] [Updated] (AMBARI-3653) File: refactor, handle special exceptional situations, support replace attribute, support absolute path for source files, default don't backup

     [ https://issues.apache.org/jira/browse/AMBARI-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk updated AMBARI-3653:
------------------------------------

    Attachment: AMBARI-3653.patch

> 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
>
>         Attachments: AMBARI-3653.patch
>
>
> - 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)