It's the "dashes at the end of variable names" problem. Try
"...${operatingsystem}-${operatingsystemrelease}-${architecture}" instead.On 2011-11-01 09:07 , Len Rugen wrote: > You probably need to escape some of this, part of ours- > .....repo/\$releasever/\$basearch > > puppet/factor shouldn't resolve these variables, they go to the repo > file and are resolved by yum or whatever. > > On Tue, Nov 1, 2011 at 10:45 AM, Christopher Johnston > <[email protected] <mailto:[email protected]>> wrote: > > Just upgraded to 2.7.6 and the yumrepo type does not write out our > yum configs correctly, anyone experiencing this? Documentation > hasn't changed from what I can tell for this type. > > # facter -version > 1.6.2 > # puppetd --version > 2.7.6 > # facter architecture > x86_64 > # facter operatingsystem > Fedora > # facter operatingsystemrelease > 14 > > ==== My manifest ==== > > yumrepo { > 'EWT-Base': > descr => 'Base Repository', > baseurl => > "http://repo:80/$operatingsystem-$operatingsystemrelease-$architecture", > gpgcheck => 0, > enabled => 1, > priority => 1; > > ===== What gets written out ==== > > [Base] > name=Base Repository > baseurl=http://repo:80/x86_64 > enabled=1 > gpgcheck=0 > priority=1 >
signature.asc
Description: OpenPGP digital signature
