Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supermarket-omnibus rpm is always downloaded #63

Open
haidangwa opened this issue Sep 17, 2018 · 0 comments
Open

supermarket-omnibus rpm is always downloaded #63

haidangwa opened this issue Sep 17, 2018 · 0 comments

Comments

@haidangwa
Copy link

haidangwa commented Sep 17, 2018

Cookbook version

3.0.0

Chef-client version

13.8.5

Platform Details

redhat 7.5 in AWS

Scenario:

With node['supermarket_omnibus']['package_url'] set to our internal Nexus URL for the package, which mirrors the chef-stable yum repo of Chef, the chef run downloads the RPM every time.

Steps to Reproduce:

Our wrapper cookbook sets node['supermarket_omnibus']['package_url'] to our internal Nexus repo, which mirrors the chef-stable yum repo of Chef.

Expected Result:

the chef run should only download this once

Actual Result:

We're seeing the rpm being downloaded on every chef run

    * remote_file[/var/chef/cache/supermarket-3.1.72-1.el7.x86_64.rpm] action create[2018-09-17T01:50:01+00:00] INFO: Processing remote_file[/var/chef/cache/supermarket-3.1.72-1.el7.x86_64.rpm] action create (/var/chef/cache/cookbooks/supermarket-omnibus-cookbook/resources/supermarket_server.rb line 37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant