|
| 1 | + # RHEL 10 amd64 |
| 2 | + |
| 3 | + - id: rhel-10-infrastructure-agent |
| 4 | + builds: |
| 5 | + - linux-agent-amd64 |
| 6 | + - linux-ctl-amd64 |
| 7 | + - linux-service-amd64 |
| 8 | + package_name: "newrelic-infra{{ .Env.FIPS }}" |
| 9 | + file_name_template: >- |
| 10 | + newrelic-infra{{ .Env.FIPS }}- |
| 11 | + {{- .Env.TAG }}-1.el10. |
| 12 | + {{- if eq .Arch "amd64" -}}x86_64 |
| 13 | + {{- else -}} |
| 14 | + {{ .Arch }} |
| 15 | + {{- end }} |
| 16 | + vendor: 'New Relic, Inc.' |
| 17 | + homepage: 'https://docs.newrelic.com/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes' |
| 18 | + |
| 19 | + description: 'New Relic Infrastructure provides flexible, dynamic server monitoring. With real-time data collection and a UI that scales from a handful of hosts to thousands, Infrastructure is designed for modern Operations teams with fast-changing systems.' |
| 20 | + license: 'Copyright (c) 2008-2021 New Relic, Inc. All rights reserved.' |
| 21 | + formats: |
| 22 | + - rpm |
| 23 | + bindir: /usr/bin |
| 24 | + contents: |
| 25 | + - src: 'assets/examples/logging/linux/file.yml.example' |
| 26 | + dst: '/etc/newrelic-infra/logging.d/file.yml.example' |
| 27 | + - src: 'assets/examples/logging/linux/fluentbit.yml.example' |
| 28 | + dst: '/etc/newrelic-infra/logging.d/fluentbit.yml.example' |
| 29 | + - src: 'assets/examples/logging/linux/syslog.yml.example' |
| 30 | + dst: '/etc/newrelic-infra/logging.d/syslog.yml.example' |
| 31 | + - src: 'assets/examples/logging/linux/systemd.yml.example' |
| 32 | + dst: '/etc/newrelic-infra/logging.d/systemd.yml.example' |
| 33 | + - src: 'assets/examples/logging/linux/tcp.yml.example' |
| 34 | + dst: '/etc/newrelic-infra/logging.d/tcp.yml.example' |
| 35 | + |
| 36 | + - src: 'build/package/systemd/newrelic-infra.service' |
| 37 | + dst: '/etc/systemd/system/newrelic-infra.service' |
| 38 | + - src: 'LICENSE' |
| 39 | + dst: '/var/db/newrelic-infra/LICENSE.txt' |
| 40 | + - src: 'target/nridocker/amd64/etc/newrelic-infra/integrations.d/docker-config.yml' |
| 41 | + dst: '/etc/newrelic-infra/integrations.d/docker-config.yml' |
| 42 | + type: config |
| 43 | + - src: 'target/nridocker/amd64/var/db/newrelic-infra/newrelic-integrations/bin/nri-docker' |
| 44 | + dst: '/opt/newrelic-infra/newrelic-integrations/bin/nri-docker' |
| 45 | + - src: 'target/nriflex/amd64/nri-flex' |
| 46 | + dst: '/opt/newrelic-infra/newrelic-integrations/bin/nri-flex' |
| 47 | + - src: 'target/nriprometheus/amd64/var/db/newrelic-infra/newrelic-integrations/bin/nri-prometheus' |
| 48 | + dst: '/opt/newrelic-infra/newrelic-integrations/bin/nri-prometheus' |
| 49 | + - src: 'target/fluent-bit-plugin/amd64/out_newrelic.so' |
| 50 | + dst: '/var/db/newrelic-infra/newrelic-integrations/logging/out_newrelic.so' |
| 51 | + - src: 'assets/examples/logging/parsers.conf' |
| 52 | + dst: '/var/db/newrelic-infra/newrelic-integrations/logging/parsers.conf' |
| 53 | + |
| 54 | + - dst: /opt/newrelic-infra/custom-integrations |
| 55 | + type: dir |
| 56 | + - dst: /opt/newrelic-infra/newrelic-integrations |
| 57 | + type: dir |
| 58 | + - dst: /var/db/newrelic-infra/custom-integrations |
| 59 | + type: dir |
| 60 | + - dst: /var/db/newrelic-infra/integrations.d |
| 61 | + type: dir |
| 62 | + - dst: /var/log/newrelic-infra |
| 63 | + type: dir |
| 64 | + - dst: /var/run/newrelic-infra |
| 65 | + type: dir |
| 66 | + epoch: 0 |
| 67 | + release: 1.el10 |
| 68 | + |
| 69 | + # Scripts to execute during the installation of the package. |
| 70 | + scripts: |
| 71 | + preinstall: "build/package/before-install.sh" |
| 72 | + preremove: "build/package/rpm/prerm-systemd.sh" |
| 73 | + |
| 74 | + # Packages to replace according to old packaging scripts. |
| 75 | + replaces: |
| 76 | + - opspro-agent |
| 77 | + - opspro-agent-systemd |
| 78 | + # Section. |
| 79 | + section: default |
| 80 | + # Priority. |
| 81 | + priority: extra |
| 82 | + rpm: |
| 83 | + scripts: |
| 84 | + posttrans: "build/package/rpm/postinst-systemd.sh" |
| 85 | + |
| 86 | + summary: "New Relic Infrastructure Agent" |
| 87 | + group: default |
| 88 | + # Recommended packages. If they fail to install installation of the agent will not be interrupted. |
| 89 | + recommends: |
| 90 | + - fluent-bit |
| 91 | + # conflicts is not "templatable", so we add the conflicts-suffix-placeholder to be replaced later |
| 92 | + conflicts: |
| 93 | + - newrelic-infra#conflicts-suffix-placeholder# |
| 94 | + |
| 95 | + # end RHEL 10 amd64 |
0 commit comments