Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

puppetserver::repository should handle the PC1 repo ? #18

Closed
olivierHa opened this issue Sep 28, 2015 · 3 comments
Closed

puppetserver::repository should handle the PC1 repo ? #18

olivierHa opened this issue Sep 28, 2015 · 3 comments
Labels
enhancement New feature or request

Comments

@olivierHa
Copy link

Hello,

Actually, only the "main" repository is configured, so we can't install a puppetserver 2.x

Is this addition to the "puppetserver::repository" class something we could include for debian ?

  if versioncmp($::puppetversion, '4.0.0') >= 0 {
    $targetrepo = 'PC1'
  } else {
    $targetrepo = 'main'
  }

(same thing for products for rhel)

Or maybe you got another idea that isn't just pushed yet ?
I can do a PR, but I wanted to know if it is the "good way" :)

Regards

Olivier

@raphink
Copy link
Member

raphink commented Sep 28, 2015

Yes, that is a good option. Can you turn this into a PR please?

@kostecky
Copy link

kostecky commented Oct 2, 2015

I've done this in a way where it's user specifiable @ #20

However, some of the travis tests are failing and when I introspect them it doesn't appear to be from the changes I've made. Thanks.

@vinzent
Copy link
Contributor

vinzent commented Feb 2, 2017

closing in favor of #37

@vinzent vinzent closed this as completed Feb 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants