Replace legacy facts and use fact hash

... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Iebdb33dd18a8f8d18840ff3e5f4608f021a78bfa
This commit is contained in:
Takashi Kajinami
2023-03-02 10:52:39 +09:00
parent cad31f4a21
commit 43735fb127
42 changed files with 543 additions and 546 deletions

View File

@@ -37,7 +37,7 @@ describe 'glance' do
end
it_configures 'glance'
it_configures "glance #{facts[:osfamily]}"
it_configures "glance #{facts[:os]['family']}"
end
end
end