Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

dnf plugin #180

Merged
merged 2 commits into from
Nov 22, 2016
Merged

dnf plugin #180

merged 2 commits into from
Nov 22, 2016

Conversation

rmohr
Copy link
Collaborator

@rmohr rmohr commented Sep 23, 2016

Hi, here a DNF plugin for cachier.

If the folder /car/cache/dnf is present, the content will be cached
like in the Yum plugin.

A possible configuration to enable it:

Vagrant.configure(2) do |config|
   config.vm.box = "fedora/24-cloud-base"
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :machine
    config.cache.auto_detect = false
    config.cache.enable :dnf
  end
end

Further a check if a system supports DNF or Yum is now part of the code too.

@rmohr
Copy link
Collaborator Author

rmohr commented Sep 23, 2016

@fgrehm happy to help you out if you are still looking for maintainers.

If the folder `/car/cache/dnf` is present, the content will be cached
like in the Yum plugin.

A possible configuration to enable it:

Vagrant.configure(2) do |config|
   config.vm.box = "fedora/24-cloud-base"
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :machine
    config.cache.auto_detect = false
    config.cache.enable :dnf
  end
end
Check if yum is really present on a 'redhat' machine.  Only if it is,
enable the Yum bucket. The same for DNF since older versions of CentOS
and Fedora do not ship DNF.
@aloyr
Copy link

aloyr commented Nov 21, 2016

it has been 2 months... any idea of when this will be merged?

@rmohr rmohr merged commit a0cdcb0 into fgrehm:master Nov 22, 2016
@raghavendra-talur raghavendra-talur mentioned this pull request Apr 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants