ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-3510) Refactor hdp:directory implementation
Date Mon, 14 Oct 2013 15:41:42 GMT

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

Dmitry Lysnichenko updated AMBARI-3510:
---------------------------------------

    Attachment:     (was: AMBARI-3510.patch)

> Refactor hdp:directory implementation
> -------------------------------------
>
>                 Key: AMBARI-3510
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3510
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3510.patch
>
>
> hdp::directory takes an "ensure" parameter and then ignores it altogether. It would seem
like hdp::directory could be used to create directories, but in fact if you pass in a non-existing
path, a file will be created (even if you specified "ensure => directory"!). Maybe it would
be good to use the ensure parameter and add the "links => follow"? That way, the puppet
type would actually honor symlinks and it would always create directories.



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

Mime
View raw message