That worked, for some reason back referencing did not.  My foolishness I
was overlooking normal variable semantic (like in shell).  Strange thing my
prior setup worked fine in 2.6, 2.7 broke it.

-Chris


On Tue, Nov 1, 2011 at 12:40 PM, Jacob Helwig <ja...@puppetlabs.com> wrote:

> 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
> > <chjoh...@gmail.com <mailto:chjoh...@gmail.com>> 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
> >
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to