Issue #15483 has been updated by Trevor Vaughan.

I was doing some quick looking at the file and it looks like the main issue is 
that you're parsing a non-inifile as an inifile.

The only two options that require continuation lines are baseurl and gpgkeys 
and it looks like exceptions for those two might be able to be made in the 
insync? call at the top of the yumrepo.rb file.

----------------------------------------
Bug #15483: Yumrepo type does not preserve whitespace on diff.
https://projects.puppetlabs.com/issues/15483#change-90864

* Author: Trevor Vaughan
* Status: Accepted
* Priority: Normal
* Assignee: Trevor Vaughan
* Category: yumrepo
* Target version: 
* Affected Puppet version: 2.7.13
* Keywords: yumrepo, diff, whitespace
* Branch: 
----------------------------------------
Since whitespace matters in yumrepo files, it should not ignore them when 
diffing to see if the file has changed.

<pre>
gpgkeys = foo
bar
baz
</pre>

And:

<pre>
gpgkeys = foo
  bar
  baz
</pre>

Are very different to YUM.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to