Closed lubomir-angelov closed 3 years ago
Yes, you're correct, the current implementation of the base url is rather simple and oriented towards the public repos, also see https://github.com/hortonworks/ansible-hortonworks/issues/78
You could try to change the variables here https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/roles/ambari-repo/vars/redhat.yml and here https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/roles/ambari-config/vars/redhat.yml for your artifactory structure.
I have opened a small pull request to help this some what. I am sure that it could be expanded
@fischerdr 's PR #154 def. solves this issue, and I'ld support it to be merged (also I'm using the change w/out issues since many deployments)
this can be closed, since PR #154 was merged in the meantime
Closing due to above PR
Hello everyone,
We use artifactory for or repositories.
When setting the repo_base_url to 'https://repo.domain/artifactory'
We get errors as: https://repo.domain/artifactory/rpm-ambari-centos-7-updates-2.7.3.0/ambari/centos7/2.x/updates/2.7.3.0/repodata/repomd.xml 404 not found
As our repo is structured differently than the hortonworks repo.
Our repo structure is as follows (i.e.) : https://repo.domain/artifactory/rpm-ambari-centos-7-updates-2.7.3.0/ambari/
../ ambari-agent-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:12 35.79 MB ambari-infra-manager-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:12 83.11 MB ambari-infra-solr-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:12 163.25 MB ambari-infra-solr-client-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:13 20.99 MB ambari-logsearch-logfeeder-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:13 51.08 MB ambari-logsearch-portal-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:13 75.07 MB ambari-metrics-collector-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:13 443.13 MB ambari-metrics-common-2.7.3.0-139.noarch.rpm 17-Jan-2019 16:13 2.56 KB ambari-metrics-grafana-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:13 17.73 MB ambari-metrics-hadoop-sink-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:13 28.03 MB ambari-metrics-monitor-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:13 31.40 MB ambari-server-2.7.3.0-139.x86_64.rpm 17-Jan-2019 16:13 351.85 MB
Is it possible to configure the base url to work with the above artifactory-repo strucutre.
BR, Lyubomir