Skip to content

Commit

Permalink
Move the default registry file
Browse files Browse the repository at this point in the history
The default registry file must use an absolute path
(elastic/beats#3328). This is probably a breaking
change.

Fixes #46
  • Loading branch information
pcfens committed Mar 28, 2017
1 parent ea30d5b commit 3e40840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
$tags = []
$queue_size = 1000
$max_procs = undef
$registry_file = '.filebeat'
$config_dir_mode = '0755'
$config_file_mode = '0644'
$purge_conf_dir = true
Expand All @@ -34,6 +33,7 @@
'Linux' : {
$config_file = '/etc/filebeat/filebeat.yml'
$config_dir = '/etc/filebeat/conf.d'
$registry_file = '/var/lib/filebeat/registry'

# These parameters are ignored if/until tarball installs are supported in Linux
$tmp_dir = '/tmp'
Expand All @@ -52,6 +52,7 @@
'Windows' : {
$config_file = 'C:/Program Files/Filebeat/filebeat.yml'
$config_dir = 'C:/Program Files/Filebeat/conf.d'
$registry_file = 'C:/ProgramData/filebeat/registry'
$download_url = 'https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.1.1-windows-x86_64.zip'
$install_dir = 'C:/Program Files'
$tmp_dir = 'C:/Windows/Temp'
Expand Down

0 comments on commit 3e40840

Please sign in to comment.