example42 / puppet-yum

Puppet module for Yum
Other
43 stars 116 forks source link

Not possible to set custom port on mirror url. #91

Closed rvalkenaers closed 9 years ago

rvalkenaers commented 9 years ago

I tried to set a different port on a mirror url in following form: http://mirror.example.com:8000/pub/rpm/epel

I get following error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: $mirror must be a Clean URL with no query-string, a fully-qualified hostname and no trailing slash. at /etc/puppet/environments/test/modules/yum/manifests/repo/epel.pp:21

Could you adapt the validation of the variable to allow custom ports?

Many thanks!