dfarrell07 / puppet-opendaylight

Moved: https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging/puppet-opendaylight.git;a=tree
12 stars 15 forks source link

Customize the yum repository #136

Open itzikb opened 7 years ago

itzikb commented 7 years ago

Adding the option to change baseurl and whether to enable the repository or not (In case there is already a repository with opendaylight)

itzikb commented 7 years ago

@dfarrell07 Can you please check my the job failed?

dfarrell07 commented 7 years ago

Can you please check my the job failed?

Yeah, was just looking at that. Not sure off-hand, digging.

Any chance you can add Beaker/rspec tests and docs for this?

itzikb commented 7 years ago

@dfarrell07 Thanks. Just did it but still fails - https://travis-ci.org/dfarrell07/puppet-opendaylight/builds/211112534

dfarrell07 commented 7 years ago

@itzikb #138 seems like it may provide most/all of the behavior you need. Would just disabling repo management be basically what you're looking for? If no, should be minor changes to expose rpm_enable_repo and add rpm_baseurl on top of the refactor.

itzikb commented 7 years ago

@dfarrell07 I agree. #138 seems to better solve the issue of disabling the repository. We also need to to the change as you suggested.

itzikb commented 7 years ago

@dfarrell07 , I have trouble with the new opendaylight::repos tests: https://travis-ci.org/dfarrell07/puppet-opendaylight/builds/213030036

If I understand correctly it's using the class directly. Can you help?

Thanks