genvid.toolbox.LinuxServiceInstaller¶
-
class
genvid.toolbox.
LinuxServiceInstaller
(**kwargs)¶ Bases:
genvid.toolbox.service.ServiceInstaller
Install the supervisor services on a Linux server.
-
NAME
= 'service-installer-linux'¶
-
SERVICES
= ('consul', 'nomad', 'vault', 'docker')¶
-
SERVICE_CLASSES
= {'consul': <class 'genvid.toolbox.linuxservice.LinuxConsulService'>, 'nomad': <class 'genvid.toolbox.linuxservice.LinuxNomadService'>, 'vault': <class 'genvid.toolbox.linuxservice.LinuxVaultService'>, 'docker': <class 'genvid.toolbox.linuxservice.LinuxDockerService'>}¶
-
get_service_class
(service)¶
-
add_consul_dns
()¶
-
restart_dhclient
()¶
-
add_commands
()¶
-
run_command
(command, options)¶
-
-
class
linuxservice.
LinuxServiceInstaller
¶ Implementation of
genvid.toolbox.LinuxServiceInstaller