Dmitry Lysnichenko created AMBARI-3510:
------------------------------------------

             Summary: 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


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)

Reply via email to