-
-
Save rphillips/ec82bfe5e299ec14ca4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local HostInfo = require('./base').HostInfo | |
local los = require('los') | |
local readCast = require('./misc').readCast | |
local async = require('async') | |
local fs = require('fs') | |
local path = require('path') | |
local sigar = require('sigar') | |
local logWarn = require('./misc').logWarn | |
local logging = require('logging') | |
--[[ Pluggable auth modules ]]-- | |
local Info = HostInfo:extend() | |
function Info:initialize() | |
HostInfo.initialize(self) | |
end | |
function Info:run(callback) | |
logging.warningf('This is a warning %s', table.concat({})) | |
if los.type() ~= 'linux' then | |
self._error = 'Unsupported OS for pluggable auth module definitions' | |
return callback() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment