Skip to content

Commit

Permalink
[rpm/configfile] change behaviour when upgrading the package (#503)
Browse files Browse the repository at this point in the history
* Testing config change for config files

* Also patching the core distribution to have the config treated as a real config file
  • Loading branch information
KrisBuytaert authored Mar 25, 2024
1 parent 52c80c0 commit f143a2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distributions/otelcol-contrib/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ nfpms:
type: config|noreplace
- src: config.yaml
dst: /etc/otelcol-contrib/config.yaml
type: config
type: config|noreplace
scripts:
preinstall: preinstall.sh
postinstall: postinstall.sh
Expand Down
2 changes: 1 addition & 1 deletion distributions/otelcol/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ nfpms:
type: config|noreplace
- src: config.yaml
dst: /etc/otelcol/config.yaml
type: config
type: config|noreplace
scripts:
preinstall: preinstall.sh
postinstall: postinstall.sh
Expand Down

0 comments on commit f143a2d

Please sign in to comment.