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

Luke Kanies wrote:

| There's no equivalent for reading files.
|> - Any particular reason for cat'ing /proc/uptime rather than opening
|> the file directly?
|
|
| Someone's initial bad decision that was never corrected, most likely.
|

Hey! I resemble that remark:

86b01bf6 (James Turnbull 2009-02-28 02:45:57 +1100 16)         r =
IO.popen("/bin/cat /proc/uptime")

But see:

http://projects.reductivelabs.com/issues/2032

for why.

Regards

James Turnbull

- --
Author of:
* Pro Linux Systems 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

iD8DBQFKNW6Q9hTGvAxC30ARAnT1AJ9mO3yMh4YaoMJ8ov8iegD5JEiE7ACgpRHm
DH0JWcSJBzKx2VdDzTGix44=
=p/z2
-----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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to