Sha256: 2e8f93ff18e36dd421d60e30efbddff189261914cdea028df3b9b4a58a89c88d

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 KB

Contents

#include <facter/facts/collection.hpp>
#include <internal/facts/freebsd/filesystem_resolver.hpp>
#include <internal/facts/bsd/uptime_resolver.hpp>
#include <internal/facts/glib/load_average_resolver.hpp>
#include <internal/facts/freebsd/processor_resolver.hpp>
#include <internal/facts/freebsd/dmi_resolver.hpp>
#include <internal/facts/posix/identity_resolver.hpp>
#include <internal/facts/posix/kernel_resolver.hpp>
#include <internal/facts/posix/ssh_resolver.hpp>
#include <internal/facts/posix/timezone_resolver.hpp>
#include <internal/facts/freebsd/operating_system_resolver.hpp>
#include <internal/facts/freebsd/networking_resolver.hpp>
#include <internal/facts/freebsd/zfs_resolver.hpp>
#include <internal/facts/freebsd/zpool_resolver.hpp>
#include <internal/facts/freebsd/virtualization_resolver.hpp>
#include <internal/facts/freebsd/memory_resolver.hpp>
#include <internal/facts/freebsd/disk_resolver.hpp>

using namespace std;

namespace facter { namespace facts {

    void collection::add_platform_facts()
    {
        add(make_shared<posix::kernel_resolver>());
        add(make_shared<freebsd::operating_system_resolver>());
        add(make_shared<freebsd::networking_resolver>());
        add(make_shared<bsd::uptime_resolver>());
        add(make_shared<freebsd::filesystem_resolver>());
        add(make_shared<posix::ssh_resolver>());
        add(make_shared<posix::identity_resolver>());
        add(make_shared<posix::timezone_resolver>());
        add(make_shared<glib::load_average_resolver>());
        add(make_shared<freebsd::processor_resolver>());
        add(make_shared<freebsd::dmi_resolver>());
        add(make_shared<freebsd::zfs_resolver>());
        add(make_shared<freebsd::zpool_resolver>());
        add(make_shared<freebsd::virtualization_resolver>());
        add(make_shared<freebsd::memory_resolver>());
        add(make_shared<freebsd::disk_resolver>());
    }

}}  // namespace facter::facts

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/lib/src/facts/freebsd/collection.cc
facter-3.12.1.cfacter.20181031 ext/facter/facter/lib/src/facts/freebsd/collection.cc
facter-3.12.1.cfacter.20181023 ext/facter/facter/lib/src/facts/freebsd/collection.cc
facter-3.12.0.cfacter.20181004 ext/facter/facter/lib/src/facts/freebsd/collection.cc
facter-3.12.0.cfacter.20181001 ext/facter/facter/lib/src/facts/freebsd/collection.cc
facter-3.12.0.cfacter.20180918 ext/facter/facter/lib/src/facts/freebsd/collection.cc