Sha256: a8857cbba79b85772c9a0a88686ca6b8a5c31ed178067e089e388401bf6f0e90
Contents?: true
Size: 668 Bytes
Versions: 16
Compression:
Stored size: 668 Bytes
Contents
#include <internal/facts/posix/processor_resolver.hpp> #include <leatherman/execution/execution.hpp> #include <leatherman/logging/logging.hpp> using namespace std; using namespace leatherman::execution; namespace facter { namespace facts { namespace posix { processor_resolver::data processor_resolver::collect_data(collection& facts) { data result; // Unfortunately there's no corresponding member in utsname for "processor", so we need to spawn auto exec = execute("uname", { "-p" }); if (exec.success) { result.isa = exec.output; } return result; } }}} // namespace facter::facts::posix
Version data entries
16 entries across 16 versions & 2 rubygems