Skip to content

Commit

Permalink
Remove config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
emilioalvap committed Feb 24, 2022
1 parent a006bff commit d732b36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ shared:
user: '{{ .BeatName }}'
linux_capabilities: ''
image_name: ''
unpack_beats: true
beats_install_path: "install"
files:
'elastic-agent.yml':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ RUN chown {{ .user }} /app
{{- end }}
{{- end }}

{{- if .unpack_beats }}
RUN mkdir -p {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_install_path }} && \
for beatPath in {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/downloads/*.tar.gz; do \
tar xf $beatPath -C {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_install_path }}; \
Expand All @@ -191,7 +190,6 @@ RUN mkdir -p {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_ins
chown -R root:root {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_install_path }}/*/*.yml && \
chmod 0644 {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_install_path }}/*/*.yml && \
setcap cap_net_raw,cap_setuid+p {{ $beatHome }}/data/{{.BeatName}}-{{ commit_short }}/{{ .beats_install_path }}/heartbeat-*/heartbeat
{{- end }}

USER {{ .user }}

Expand Down

0 comments on commit d732b36

Please sign in to comment.