You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing CFengine into a Redhat-like guest operating system, the cfengine provisioner assumes that wget(1) is available. I at least one case, that is not so. When wget is not available, provisioning fails with an unhelpful error message.
The latest version of the "cfengine-community" package is installed into the VM.
Actual behavior
Installation of the "cfengine-community" package fails with an error message about GPG keys.
==> default: Installing CFEngine onto machine...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
yum -y install cfengine-community
Stdout from the command:
Loaded plugins: fastestmirror
Stderr from the command:
You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and yum
will install it for you.
For more information contact your distribution or package provider.
Problem repository: cfengine-repository
Because we can't address this for every dependency for each provider and provisioner, in this case it makes sense for the box maintainers to include wget on the box itself. Thanks!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
When installing CFengine into a Redhat-like guest operating system, the cfengine provisioner assumes that wget(1) is available. I at least one case, that is not so. When wget is not available, provisioning fails with an unhelpful error message.
Vagrant version
Vagrant 1.8.1
Host operating system
OSX
Guest operating system
CentOS
Vagrantfile
Debug output
https://gist.github.com/norcnorc/1ea514d23ed136fad89a4854cc77774e#file-cfengine-fail-log-L10161
Expected behavior
The latest version of the "cfengine-community" package is installed into the VM.
Actual behavior
Installation of the "cfengine-community" package fails with an error message about GPG keys.
Steps to reproduce
vagrant up
Workaround
Add the line
to the Vagrantfile, before the
config.vm.provision "cfengine"
line.The text was updated successfully, but these errors were encountered: