wforce
: Install and configure weakforced
wforce::config
: Setup configuration fileswforce::package
: Install packageswforce::repo
: Setup software repositorieswforce::service
: Manage the system service
Install and configure weakforced
The following parameters are available in the wforce
class:
acls
address
config_file
config_manage
config_mode
config_template
database_defaults
databases
fieldmaps
functions
function_args
group
package_ensure
package_manage
package_name
password
port
repo_manage
service_ensure
service_name
service_manage
siblings
siblings_address
siblings_key
siblings_port
socket_address
socket_port
sync_enable
sync_host
sync_myip
sync_password
sync_port
sync_uptime
use_functions
user
whitelist
Data type: Array
A list of ACLs for the weakforced service.
Data type: String
The listen address for the weakforced webserver.
Data type: String
Path to the configuration file.
Data type: Boolean
Whether configuration files should be managed.
Data type: String
File mode to be used for config files.
Data type: String
Specifies the EPP template to use.
Data type: Hash
Default values for database configuration.
Data type: Hash
A list of databases.
Data type: Hash
A list of fieldmaps.
Data type: Hash
A list of Lua functions (Lua source code).
Data type: Hash
A list of arguments that are passed to functions.
Data type: String
The group under which the service will run.
Data type: String
The desired state of the package resource.
Data type: Boolean
Whether package installation/removal should be managed.
Data type: String
The name of the package.
Data type: String
The weakforced API password.
Data type: Integer
The weakforced port number.
Data type: Boolean
Whether package repositories should be managed.
Data type: Enum['absent', 'running', 'stopped']
The desired state of the service resource.
Data type: String
The name of the service.
Data type: Boolean
Whether the service should be managed.
Data type: Array
A list of replication targets.
Data type: String
The replication address of the local service.
Data type: Optional[String]
The credential key used for replication.
Default value: undef
Data type: Integer
The replication port of the local service.
Data type: String
The listen address of the control socket.
Data type: Integer
The port number of the control socket.
Data type: Boolean
Whether to enable replication of databases from remote servers.
Data type: Optional[String]
The source host for database replication.
Default value: undef
Data type: Optional[String]
The IP address of the local instance.
Default value: undef
Data type: Optional[String]
The password used for replication.
Default value: undef
Data type: Optional[Integer]
The port used for database replication.
Default value: undef
Data type: Integer
The minimum uptime (in seconds) of a host before replication is considered.
Data type: Hash
A list of Lua functions that will be used to handle weakforced commands.
Data type: String
The user under which the service will run.
Data type: Array
A list of subnets that are allowed to communicate with the weakforce service.