-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Hookins wrote:
> On Tue Mar 10, 2009 at 16:13:40 -0400, Todd Zullinger wrote:
>> This allows operatingsystemrelease to properly determine the release for
>> various Red Hat based distros, including the point portion of the
>> release.

> Ahh! That breaks the behaviour I was trying to fix by reporting the
> inconsistency. So now instead of having releases numbered 3, 4, 5 across the
> board it could well end up 3.8, 4.6, 5.3 etc which in my opinion is much
> harder to make use of since Puppet conditionals don't support substring
> matching.
> 
> I'm not sure what to suggest though, but I guess there are a few
> alternatives:
>  * limit $operatingsystemrelease output to only the major release integer
>  * allow point release output with $operatingsystemrelease, and create a new
>    variable $operatingsystemmajrelease which only contains the major release
>    integer
>  * allow point release output with $operatingsystemrelease and add substring
>    matching of variables in conditionals in puppet
> 
> Your thoughts?

Ditto.  We've back and forth'ed on this in the past.  I don't like the
point release in the $operatingsystemrelease fact so I probably back
option 1 above.

I think you'll find this patch will break a lot of people's configurations.

Regards

James


- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJtudx9hTGvAxC30ARAgnKAKCPB/nsZ/X2RkUJgqtZc1YfvBai+wCgrkWY
g+pLk9Vvrw8ecw+vcH/7DzM=
=CJwc
-----END PGP SIGNATURE-----

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

Reply via email to