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

Casey Stella updated METRON-87:
-------------------------------
    Fix Version/s:     (was: 0.2.1BETA)

> Ansible Roles defining hdp_repo_def could duplicate repo definitions.  
> -----------------------------------------------------------------------
>
>                 Key: METRON-87
>                 URL: https://issues.apache.org/jira/browse/METRON-87
>             Project: Metron
>          Issue Type: Bug
>            Reporter: David M. Lyle
>            Priority: Minor
>              Labels: deployment, newbie, platform
>
> When roles contain
>   - name: Retrieve HDP repository definition
>     get_url:
>       url: "{{ hdp_repo_def }}"
>       dest: /etc/yum.repos.d/hdp.repo
>       mode: 0644
> are assigned to hosts which are also hadoop_slave hosts, they will duplicate 
> the HDP and HDP-UTILS repo definitions making yum unhappy.
> Proposed fix:
>  Change the destination to /etc/yum.repos.d/HDP.repo.
>  Move all definitions of hdp_repo_def to {role}/defaults/main.yml
>  Change default location of repo file to: 
> http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0/hdp.repo
>   Remove unused variable from the yaf role.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to