Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Y
yum
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Hide 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 @@
...
@@ -16,14 +16,4 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
execute
'make yum cache'
do
log
"The dnf_yum_compat recipe is no longer necessary as Chef Infra Client includes native DNF support"
command
'yum makecache'
\ No newline at end of file
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
)
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