Skip to content

Commit

Permalink
update CHANGELOG and CONTRIBUTORS
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabelluccini committed Oct 13, 2018
1 parent 9535ace commit 3a28e19
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## x.x.x (Month Day, Year)

#### Fixes
* Update of the roles, roles mappings and users will not trigger service restart (if enabled).

#### Features

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ Rhommel Lamas (rhoml)
Jose Luis Ledesma (sp-joseluis-ledesma)
Matthias Baur (baurmatt)
Gavin Williams (fatmcgav)
Luca Belluccini (lucabelluccini)
49 changes: 24 additions & 25 deletions manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -383,39 +383,38 @@
notify => $notify_service,
}
file { "${configdir}/users_roles":
ensure => 'file',
source => "${elasticsearch::configdir}/users_roles",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
ensure => 'file',
source => "${elasticsearch::configdir}/users_roles",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
}
file { "${configdir}/roles.yml":
ensure => 'file',
source => "${elasticsearch::configdir}/roles.yml",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
ensure => 'file',
source => "${elasticsearch::configdir}/roles.yml",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
}
file { "${configdir}/role_mapping.yml":
ensure => 'file',
source => "${elasticsearch::configdir}/role_mapping.yml",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
ensure => 'file',
source => "${elasticsearch::configdir}/role_mapping.yml",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
}
file { "${configdir}/users":
ensure => 'file',
source => "${elasticsearch::configdir}/users",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
ensure => 'file',
source => "${elasticsearch::configdir}/users",
purge => $elasticsearch::purge_configdir,
force => $elasticsearch::purge_configdir,
require => File[$configdir],
before => Elasticsearch::Service[$name],
}


# Do _not_ copy in instance directories. This avoids a) recursing
# indefinitely by copying our own instance directory and b) copying in any
# other potential instance directories.
Expand Down

0 comments on commit 3a28e19

Please sign in to comment.