File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 121121 # $package_source needs to override the constructed value in params.pp
122122 if $package_source { # $package_source was specified by user so use that one
123123 $real_package_source = $package_source
124- } else { # package_source was not specified, so construct it
124+ # NOTE(bogdando) do not enforce the source value for yum provider #MODULES-1631
125+ } elsif $package_provider != ' yum' {
126+ # package_source was not specified, so construct it, unless the provider is 'yum'
125127 case $::osfamily {
126128 ' RedHat' , ' SUSE' : {
127129 $base_version = regsubst($version ,' ^(.*)-\d $' ,' \1 ' )
131133 $real_package_source = ' '
132134 }
133135 }
136+ } else { # for yum provider, use the source as is
137+ $real_package_source = $package_source
134138 }
135139
136140 include '::rabbitmq::install'
You can’t perform that action at this time.
0 commit comments