incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-18) Add special command to write config file
Date Fri, 30 Sep 2011 01:07:45 GMT

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

Eric Yang resolved AMBARI-18.
-----------------------------

    Resolution: Fixed
    
> Add special command to write config file
> ----------------------------------------
>
>                 Key: AMBARI-18
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18
>             Project: Ambari
>          Issue Type: New Feature
>          Components: agent
>    Affects Versions: 0.1.0
>         Environment: Python
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.1.0
>
>
> Add special command to write configuration file with proper ownership and permission
setup.
> The required fields are:
> * Username
> * Group
> * Permission
> * Filename
> * Content
> Example:
> {noformat}
> cmd = [ 'ambari-write-file', 'eyang', 'staff', 0777, "/tmp/_file_write_test", "This is
content of the file" ]
> FileUtil.writeFile(cmd)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message