From 1d35945d22ef17fd6b62ad114f4751d46c10f7d4 Mon Sep 17 00:00:00 2001 From: Stuart Stephen Date: Mon, 24 Jul 2023 16:20:49 +0100 Subject: [PATCH] Support upgrading of CINC Client The directory name is incorrect when upgrading CINC. This change fixes the path. This change is coupled with https://github.com/chef/mixlib-install/pull/389. Signed-off-by: Stuart Stephen --- providers/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/default.rb b/providers/default.rb index e80ec10..a625199 100644 --- a/providers/default.rb +++ b/providers/default.rb @@ -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