Skip to content

Commit

Permalink
Add conflicts to the newrelic-infra packages to not allow having both…
Browse files Browse the repository at this point in the history
… fips and non fips installed at the same time
  • Loading branch information
alvarocabanas committed Jan 7, 2025
1 parent c1a2c45 commit 5cfc3cb
Show file tree
Hide file tree
Showing 25 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/goreleaser/linux/al2023_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
# Required packages. rpm version 4.11.3 does not support weak dependencies
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end AL2023 adm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/al2023_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end AL2023 arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/al2_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@
dependencies:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end AL2 adm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/al2_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@
dependencies:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end AL2 arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/centos_7_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
dependencies:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end CentOS 7 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/centos_7_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,7 @@
dependencies:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end CentOS 7 arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/centos_8_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end CentOS 8 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/centos_8_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end CentOS 8 arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/debian_systemd_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end Debian systemd amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/debian_systemd_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end Debian systemd arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/debian_upstart_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end Debian upstart amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/rhel_9_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end RHEL 9 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/rhel_9_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end RHEL 9 arm64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_125_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 12.5 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_125_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_152_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 15.2 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_152_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_153_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@
recommends:
- td-agent-bit #To be removed on removal of the ff fluent_bit_19
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 15.3 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_153_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_154_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 15.4 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_154_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_155_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 15.5 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_155_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_156_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
recommends:
- fluent-bit
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}

# end SLES 15.6 amd64
2 changes: 2 additions & 0 deletions build/goreleaser/linux/sles_156_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
posttrans: "build/package/rpm/postinst-systemd.sh"
summary: "New Relic Infrastructure Agent"
group: default
conflicts:
- newrelic-infra{{ if eq .Env.FIPS "" -}}-fips{{ end }}
# Recommended packages. If they fail to install installation of the agent will not be interrupted.
# recommends:
# FB not supported yet
Expand Down

0 comments on commit 5cfc3cb

Please sign in to comment.