Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Cookbook attempts to download sources even when package is installed #50

Open
jgoldschrafe opened this issue Aug 18, 2015 · 1 comment
Labels

Comments

@jgoldschrafe
Copy link

The cookbook attempts to download the collectd source even when the package is installed and the sources will not be built. This should be fixed by duplicating the guard clause from the resource that builds the sources onto the remote_file resource:

  not_if "#{node["collectd"]["dir"]}/sbin/collectd -h 2>&1 | grep #{node["collectd"]["version"]}"
@hectcastro
Copy link
Owner

Hey @jgoldschrafe, would you mind submitting that as a pull request? If so, I'll try to review it over the weekend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants