Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

puppet 3.5 breaks yum module #50

Open
anthonysomerset opened this issue Apr 4, 2014 · 5 comments
Open

puppet 3.5 breaks yum module #50

anthonysomerset opened this issue Apr 4, 2014 · 5 comments

Comments

@anthonysomerset
Copy link

since my servers updated to puppet 3.5 overnight i've been getting failed puppet runs with errors like the following

Error: Failed to apply catalog: Parameter baseurl failed on Yumrepo[base]: Must be a valid URL at /etc/puppet/environments/production/modules/yum/manifests/managed_yumrepo.pp:67
Wrapped exception:
Must be a valid URL
Error: Failed to apply catalog: Parameter mirrorlist failed on Yumrepo[puppetlabs]: Must be a valid URL at /etc/puppet/environments/production/modules/yum/manifests/managed_yumrepo.pp:67
Wrapped exception:
Must be a valid URL
@alvagante
Copy link
Member

Yep, there seems to be a bug in 3.5 in the yumrepo resource when using mirrorurl and not baseurl
https://groups.google.com/forum/#!topic/puppet-users/59wQjZ_LtbU

@anthonysomerset
Copy link
Author

yep confirmed that https://tickets.puppetlabs.com/browse/PUP-2150 is the issue, not your module :) not sure what workarounds are possible in the meantime

@raypettersen
Copy link

Just started using this wonderful plugin last week, and suddenly (thu/fri) my servers auto-upgraded and everything broke with the above error. Please let me know if a workaround is found.

@alvagante
Copy link
Member

Uninstall Puppet 3.5.0 (which should have been removed from PuppetLabs repos) and use an earlier version until a fix is released (check the linked issue for details).
Alternatively do not include the yum module and eventually manage your yum repo files with a file type instead of the yumrepo type.

@raypettersen
Copy link

solved the problem by doing a simple
yum downgrade puppet

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

No branches or pull requests

3 participants