Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Repos getting added #168

Closed
sam-cogan opened this issue Apr 24, 2020 · 0 comments
Closed

No Repos getting added #168

sam-cogan opened this issue Apr 24, 2020 · 0 comments

Comments

@sam-cogan
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 2018.1.3
  • Ruby:
  • Distribution: centos
  • Module version:4.1.1

How to reproduce (e.g Puppet code you use)

yum::managed_repos:
    - 'azure_cli'
    - 'kubernetes'
yum::repos:
  azure_cli:
    ensure: 'present'
    enabled: true
    descr: 'Repo for Azure CLI'
    baseurl: 'https://packages.microsoft.com/yumrepos/azure-cli/'
    gpgcheck: true
    gpgkey: 'https://packages.microsoft.com/keys/microsoft.asc'
    target: '/etc/yum.repos.d/azure_cli.repo'
  kubernetes:
    ensure: 'present'
    enabled: true
    descr: 'Repo for Kubernetes'
    baseurl: 'https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/'
    gpgcheck: false
    gpgkey: 'https://packages.cloud.google.com/yum/doc/yum-key.gpg'
    target: '/etc/yum.repos.d/kubernetes.repo'

What are you seeing

I am trying to setup two additional yum repos. I have followed the docs and setup the hieradata as above, however this does not appear to work. No errors occur during Puppet apply, however the repos are not added and I cannot install any packages from those repos. Am I doing anything obviously wrong?

What behaviour did you expect instead

Repos to be added

Output log

Any additional information you'd like to impart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant