521672bc35
This begins the conversion process. We keep the bulk of the nodejs and apache configuration. Remove mysql and replace with redis and so on. This is not a complete conversion, future work should include authenticated redis configuration and systemd support. However, this should be able to get the service running with a basic set of features and functionality. Change-Id: Id10247211d9643e81bb1b6e8fb67377ba6de873a
18 lines
439 B
Puppet
18 lines
439 B
Puppet
# == Class: ethercalc::redis
|
|
#
|
|
class ethercalc::redis(
|
|
$redis_port = '6379',
|
|
$redis_max_memory = '1gb',
|
|
$redis_bind = '127.0.0.1',
|
|
$redis_password = undef,
|
|
$redis_version = '2.8.4',
|
|
) {
|
|
class { '::redis':
|
|
redis_port => $redis_port,
|
|
redis_max_memory => $redis_max_memory,
|
|
redis_bind => $redis_bind,
|
|
redis_password => $redis_password,
|
|
version => $redis_version ,
|
|
}
|
|
}
|