This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Unable to use repo I've just installed #28
Comments
I think I have a similar issue in Centos7, tested with a simple single provision file: class { 'yum':
extrarepo => [ 'epel' , 'rpmforge' ],
}
->
exec { "yum-update":
command => "/usr/bin/yum makecache fast;/usr/bin/yum update -y",
}
->
package {
[
"hdf5-devel",
"libqxt-devel",
"libyaml-devel",
"unrar",
]:
ensure => installed,
allow_virtual => true,
} Will always fail with Running provision again will work. Full output goes:
|
Forcing a clean after adding repos does not seem to do anything (it looks like clean is running while extrarepos are still being added): class { 'yum':
extrarepo => [ 'epel' , 'rpmforge' ],
}
->
exec { "yum-clean":
command => "/usr/bin/yum clean all",
}
->
exec { "yum-update":
command => "/usr/bin/yum makecache fast;/usr/bin/yum update -y",
}
->
package {
[
"hdf5-devel",
"libqxt-devel",
"libyaml-devel",
"unrar",
]:
ensure => installed,
allow_virtual => true,
} Gives output:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it just me or does this module not do a yum clean after adding a new repo?
After I add the a repo, I need to provision again before I can actually use it. I've got a convoluted set of requires setup in my own modules to achieve this but it makes my module files look a little messy.
The text was updated successfully, but these errors were encountered: