Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
yum
Commits
eeafe5fb
Commit
eeafe5fb
authored
Mar 01, 2020
by
Tim Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the dnf compat recipe just log a warning to not use it
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
b5817393
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
recipes/dnf_yum_compat.rb
recipes/dnf_yum_compat.rb
+1
-11
test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb
test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb
+0
-1
No files found.
recipes/dnf_yum_compat.rb
View file @
eeafe5fb
...
...
@@ -16,14 +16,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
execute
'make yum cache'
do
command
'yum makecache'
action
:nothing
end
execute
'install yum'
do
command
'dnf install yum -y'
not_if
{
::
File
.
exist?
(
'/var/lib/yum'
)
}
action
:nothing
notifies
:run
,
'execute[make yum cache]'
,
:immediately
end
.
run_action
(
:run
)
log
"The dnf_yum_compat recipe is no longer necessary as Chef Infra Client includes native DNF support"
\ No newline at end of file
test/fixtures/cookbooks/yum_test/recipes/test_dnf_compat.rb
deleted
100644 → 0
View file @
b5817393
package
'which'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment