Top Level Namespace

Includes:
Perus::Server

Defined Under Namespace

Modules: Perus

Constant Summary collapse

DEFAULT_PINGER_OPTIONS =
{
    '__anonymous__' => {
        'server' => 'http://127.0.0.1:5000/'
    },

    # restricted values
    'Value' => {
        'path' => []
    },

    'Screenshot' => {
        'path' => []
    },

    'Process' => {
        'process_path' => []
    },

    'Upload' => {
        'path' => []
    },

    'Replace' => {
        'path' => []
    },

    'RemovePath' => {
        'path' => []
    },

    'KillProcess' => {
        'process_name' => []
    },

    'Running' => {
        'process_path' => []
    },

    'UpstartStart' => {
        'job' => []
    },

    'UpstartStop' => {
        'job' => []
    },

    'ServiceStart' => {
        'job' => []
    },

    'ServiceStop' => {
        'job' => []
    },

    'RunInstalledCommand' => {
        'path' => []
    }
}
DEFAULT_SERVER_OPTIONS =
{
    '__anonymous__' => {
        'uploads_dir' => './uploads',
        'uploads_url' => 'http://localhost:3000/uploads/',
        'db_path' => './perus.db',
        'listen' => '0.0.0.0',
        'port' => 5000,
        'site_name' => 'Perus',
        'url_prefix' => '/',
        'keep_hours' => 24,
        'cache_alerts_secs' => 20,
        'stats_path' => '/var/perus.stats'
    },
    'db' => {
        'username' => '',
        'password' => ''
    },
    'auth' => {
        'username' => '',
        'password' => ''
    }
}

Constants included from Perus::Server

Perus::Server::DEFAULT_SERVER_OPTIONS_PATH