incubator-ambari-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794215#comment-13794215
] 

Oleksandr Diachenko commented on AMBARI-3510:
---------------------------------------------

+1

> 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