NAME

Data::Collector::Info::OS - Fetch machine OS information

VERSION

version 0.08

DESCRIPTION

This info module fetches information about a machine's OS details using version files such as /etc/redhat-release for Red Hat or CentOS.

Current there is only support for CentOS. Patches are welcome. :)

The keys this module takes in the registry are os_name, os_distro and os_version.

SUBROUTINES/METHODS

info_keys

Subclassing info_keys from Data::Collector::Info to indicate which keys to register.

all

Fetches and returns the details in a unified hashref.

AUTHOR

Sawyer X <xsawyerx@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Sawyer X.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.