[ https://issues.apache.org/jira/browse/AMBARI-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko updated AMBARI-3510: --------------------------------------- Attachment: AMBARI-3510.patch 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)