Skip to content

Commit

Permalink
Support upgrading of CINC Client
Browse files Browse the repository at this point in the history
The directory name is incorrect when upgrading CINC. This change fixes the path.

This change is coupled with chef/mixlib-install#389.

Signed-off-by: Stuart Stephen [email protected]
  • Loading branch information
mrswadge authored Jul 24, 2023
1 parent 79e696d commit bb7db55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def chef_infra_client_name
def legacy_conf_dir_name
if defined?(::ChefUtils::Dist::Org::LEGACY_CONF_DIR)
::ChefUtils::Dist::Org::LEGACY_CONF_DIR
elsif new_resource.product_name == 'cinc'
'cinc-project'
else
'opscode'
end
Expand Down

0 comments on commit bb7db55

Please sign in to comment.