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>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.
>

-- 
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