Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

rebase of #1185 #1284

Merged
merged 4 commits into from
Jun 19, 2017
Merged

rebase of #1185 #1284

merged 4 commits into from
Jun 19, 2017

Conversation

lamont-granquist
Copy link
Contributor

rebase of #1185

closes #1185

kamaradclimber and others added 4 commits June 19, 2017 13:55
This will allow to have a consistent order even if Policyfile changes
(if we add a cookbook entry for instance).
This makes diff easier to read.

Change-Id: I70ee908a7810bcf0e74c39e50c39ab4fb313e83d
Signed-off-by: Grégoire Seux <g.seux@criteo.com>
This patches allows to update one or several cookbooks in a policyfile
instead of updating all cookbooks.

The update behavior is quite raw:
- it finds the list of cookbooks to update from command line argument
and all their dependencies
- it put hard constraints on all cookbooks except the cookbooks to
update
- it compile and install the policyfile as if we did not have a lock

This behavior is very raw since it can lead to upgrade many cookbooks at
once. We could think of adding options to control that behavior later.

This patch introduces a small change in the behavior of `-a` option for
update command:
- without this flag, attributes are updated along with cookbooks
- with this flag, only attributes are updated (no cookbook)

Fix #1182

Change-Id: I361ab141410a1bcd77e606f12d594fa830eebe0d
Signed-off-by: Grégoire Seux <g.seux@criteo.com>
Change-Id: Ie16f2b23cae00a7a8c2a09f70899b2be47071331
Signed-off-by: Grégoire Seux <g.seux@criteo.com>
@lamont-granquist lamont-granquist merged commit f59fb17 into master Jun 19, 2017
@lamont-granquist lamont-granquist deleted the lcg/issue1182 branch June 19, 2017 22:06
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants