Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cdh5/repo.sls
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ remove_policy_file:

{% set releasever = grains.osmajorrelease %}

{% set base_url = "https://" ~ pillar.cdh5.artifactory.username ~ ":" ~ pillar.cdh5.artifactory.password ~ "@artifacts.corp.digitalreasoning.com/artifactory/cloudera-remote" %}

# Set up the CDH5 yum repository
cloudera_cdh5:
pkgrepo:
- managed
- humanname: "Cloudera's Distribution for Hadoop, Version 5"
- baseurl: "http://archive.cloudera.com/cdh5/redhat/{{ releasever }}/$basearch/cdh/{{ pillar.cdh5.version }}/"
- gpgkey: http://archive.cloudera.com/cdh5/redhat/{{ releasever }}/$basearch/cdh/RPM-GPG-KEY-cloudera
- baseurl: "{{ base_url }}/cdh5/redhat/{{ releasever }}/$basearch/cdh/{{ pillar.cdh5.version }}/"
- gpgkey: {{ base_url }}/cdh5/redhat/{{ releasever }}/$basearch/cdh/RPM-GPG-KEY-cloudera
- gpgcheck: 1

cdh5_refresh_db:
Expand Down