class RRRSpec::Server::WorkerConfiguration
Attributes
daemonize[RW]
monitor[RW]
pidfile[RW]
rsync_options[RW]
rsync_remote_path[RW]
slave_processes[RW]
stderr_path[RW]
stdout_path[RW]
user[RW]
worker_type[RW]
working_dir[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/rrrspec/server/configuration.rb, line 41 def initialize super() @slave_processes = Facter.value(:processorcount).to_i @worker_type = 'default' @type = :worker end
Public Instance Methods
check_validity()
click to toggle source
Calls superclass method
# File lib/rrrspec/server/configuration.rb, line 48 def check_validity validity = super unless rsync_remote_path and rsync_options $stderr.puts('The rsync options are not set') validity = false end unless working_dir and worker_type $stderr.puts('The worker options are not set') validity = false end validity end