heavywater/community-cookbooks — Issue #14: problems getting newrelic sysmond package upgrade to work
Author: apsoto
Created: 2011-12-12 23:41:45+00:00
State: open

I'm seeing chef client run failures when I merge din the latest newrelic-sysmond cookbook with the upgrade action. When I ran it manually I see this:

```bash
# apt-get install -y newrelic-sysmond
Reading package lists... Done
Building dependency tree
Reading state information... Done
newrelic-sysmond is already the newest version.
The following packages were automatically installed and are no longer required:
libssl-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 145 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up newrelic-sysmond (1.1.2.124) ...

Configuration file `/etc/newrelic/nrsysmond.cfg'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** nrsysmond.cfg (Y/I/N/O/D/Z) [default=N] ?
Installing new version of config file /etc/logrotate.d/newrelic-sysmond ...
The system user `newrelic' already exists. Exiting.
New Relic Server Monitor: newrelic-sysmond already running
```

Have you seen this and possibly have a workaround?