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

Michael DeHaan wrote:
> Ok, some more data from git history:
> http://github.com/reductivelabs/facter/commit/33fb7709404e706801683e6c47ab7a0a5a1884b1
> 
> It looks like "return an array" is new behavior for exec, and maybe it
> wasn't backported/tested for all of the old facts.   Thoughts?

Yeah - this is the issue. It's in HEAD so it's not committed to a
release - we can easily fix the facts or adjust or even revert the
commit.

> In this case the best way to go is probably a "return type" parameter
> that defaults to strings, and things that want arrays can ask for
> them.

Yeah - this is in line with where we're going with Facter anyway.

I've re-opened http://projects.reductivelabs.com/issues/2766 with
your investigations.

Thanks for the hard yards poking around at it.

Regards

James Turnbull

- --
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSz0+MiFa/lDkFHAyAQJGHwf+PMsma7mu14kmaY1pk3iTz+Wn1O1AZERE
GMQphXaHahfDlZiShy0B2yC1Y+8ZQxMyOfj66E+TGwnveeGBGe7fW9+Q1aGww9D5
1OFdqz7BmN+KxU4JwHkOk6aDEV4TD3R22/71WpUgUcpT51lEDUYbT9w20IZUxgIc
7iz6msAUQX/kq78Y5RPGjqpvm9Mh2YX2TjBfJ7ArFqAVg+lEV9+pec34av1R1IvR
4fSc76hvHcOHroDXtW/Zx/lL0flCXnKKlfiOVJ2/pxqAyrshu6G+aoa3/UNYJTJj
TP4KQ/Ce2O2Flk9/Ewp9Mt6AcJfkY2yHqkhE1OfhVsD/shTE+CH8QA==
=wb+w
-----END PGP SIGNATURE-----

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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