phlipper / chef-monit

Chef cookbook for monit package
http://phlippers.net/chef-monit
MIT License
67 stars 69 forks source link

fix guard and update monit binary version #72

Open fulloflilies opened 9 years ago

fulloflilies commented 9 years ago

fixed guard because commit 1f90c6f9dbb04c8d1204677b5dbf7ff399b19e47 got following error

       [2015-05-05T14:26:45+01:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-05-05T14:26:45+01:00] ERROR: Exception handlers complete
       [2015-05-05T14:26:45+01:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 5 resources updated in 30.117795356 seconds
       [2015-05-05T14:26:45+01:00] ERROR: execute[install-monit-binary] (monit::install_binary line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit ----
       STDOUT: monit-5.12.2/
       monit-5.12.2/bin/
       monit-5.12.2/bin/monit
       monit-5.12.2/COPYING
       monit-5.12.2/conf/
       monit-5.12.2/conf/monitrc
       monit-5.12.2/man/
       monit-5.12.2/man/man1/
       monit-5.12.2/man/man1/monit.1
       STDERR: cp: cannot create regular file `/usr/bin/monit': Text file busy
       ---- End output of tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit ----
       Ran tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit returned 1
       [2015-05-05T14:26:47+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
joelhandwell commented 8 years ago

@phlipper Is there anything to be done for this to be merged?