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

Constant :reconfigure action #54

Open
knightorc opened this issue Jun 16, 2017 · 2 comments
Open

Constant :reconfigure action #54

knightorc opened this issue Jun 16, 2017 · 2 comments

Comments

@knightorc
Copy link

Cookbook version

3.0.0

Chef-client version

12.19.36

Platform Details

CentOS 7.x

Scenario:

Idempotent chef-client runs

Steps to Reproduce:

run cookbook

Expected Result:

If no upgrade or configuration change, Zero resources executed.

Actual Result:

every chef client run, supermarket is reconfigured.

Cause

Seems to be related array of actions in https://github.com/chef-cookbooks/supermarket-omnibus-cookbook/blob/master/resources/supermarket_server.rb#L62

@knightorc
Copy link
Author

Just tried updating to the latest chef-ingredient cookbook, still every chef client run it fires

execute[supermarket-reconfigure] action

        * directory[/etc/supermarket] action create[2017-11-01T22:08:52+00:00] INFO: Processing directory[/etc/supermarket] action create (/tmp/kitchen/cache/cookbooks/chef-ingredient/resources/ingredient_config.rb line 27)
        (up to date)
        * file[/etc/supermarket/supermarket.json] action create[2017-11-01T22:08:52+00:00] INFO: Processing file[/etc/supermarket/supermarket.json] action create (/tmp/kitchen/cache/cookbooks/chef-ingredient/resources/ingredient_config.rb line 32)
        (up to date)
         (up to date)
             * execute[supermarket-reconfigure] action run[2017-11-01T22:08:52+00:00] INFO: Processing execute[supermarket-reconfigure] action run (/tmp/kitchen/cache/cookbooks/chef-ingredient/resources/chef_ingredient.rb line 108)

        [execute] Starting Chef Client, version 13.5.3
                  resolving cookbooks for run list: ["omnibus-supermarket::default"]
                  Synchronizing Cookbooks:
                    - omnibus-supermarket (1.1.0)
...

@knightorc
Copy link
Author

And newest supermarket build too 3.1.42

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