This commit is contained in:
Gavin Hamill 2016-05-11 15:19:26 +01:00
Родитель 9ae012537c
Коммит 4bf4dc575a
5 изменённых файлов: 15 добавлений и 9 удалений

Просмотреть файл

@ -1,3 +1,9 @@
2016-05-11 Release 0.2.8
- Bugfix: Revert: Do not create the user + group by default. Run consul-template as root/root instead
2016-05-11 Release 0.2.7
- Pulled
2016-05-11 Release 0.2.6
- Bugfix: Create the user + group by default, else we can't chown the install directory #70

Просмотреть файл

@ -29,8 +29,8 @@ set to 'package', its installed using the system package manager.
- `extra_options` Default: ''. Extra options to be bassed to the consul-template agent. See https://github.com/hashicorp/consul-template#options
- `service_enable` Default: true.
- `service_ensure` Default: running.
- `user` Default: consul-template.
- `group` Default: consul-template.
- `user` Default: root. This used to be a default of `consul-template` and this caused much out-of-box pain for people.
- `group` Default: root.
- `manage_user` Default: false. Module handles creating the user.
- `manage_group` Default: false. Module handles creating the group.
- `consul_host` Default: localhost. Hostanme of consul agent to query

Просмотреть файл

@ -53,10 +53,10 @@
# Path to a directory to create to hold some data. Defaults to ''
#
# [*user*]
# Name of a user to use for dir and file perms. Defaults to consul-template.
# Name of a user to use for dir and file perms. Defaults to root.
#
# [*group*]
# Name of a group to use for dir and file perms. Defaults to consul-template.
# Name of a group to use for dir and file perms. Defaults to root.
#
# [*manage_user*]
# User is managed by this module. Defaults to `false`.

Просмотреть файл

@ -12,10 +12,10 @@ class consul_template::params {
$version = '0.11.0'
$download_url_base = 'https://releases.hashicorp.com/consul-template/'
$download_extension = 'zip'
$user = 'consul-template'
$group = 'consul-template'
$manage_user = true
$manage_group = true
$user = 'root'
$group = 'root'
$manage_user = false
$manage_group = false
$config_mode = '0660'
case $::architecture {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "gdhbashton-consul_template",
"version": "0.2.6",
"version": "0.2.8",
"author": "gdhbashton",
"summary": "Install and manage Consul Template and its jobs",
"license": "Apache-2.0",