Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
This is a work in progress - and subject to additions and changes.
Install the plugin:
$ vagrant plugin install vagrant-logs
Do not use this command in a directory with a Vagrantfile which requires the plugin. Vagrant does always include the Vagrantfile, and therefore will fail before installation because of the missing plugin. Just cd
somewhere else and retry the command, maybe from your homedir?
Upload to Gist can be activated by setting environment variable GIST_UPLOAD
, e.g.:
GIST_UPLOAD=true vagrant logs
GITHUB_TOKEN
must also be set as an environment variable.
In your Vagrantfile
:
Vagrant.require_plugin 'vagrant-logs'
Vagrant.configure("2") do |config|
# list of log files
config.vagrant_logs.log_files = ['/var/log/*log']
# number of lines to log
config.vagrant_logs.lines = 5
# list of locally checked out repositories for which the current revision should be logged
config.vagrant_logs.repositories_to_check = ['~/Sites/easybib/cookbooks', '~/projects/ies/vagrant-logs']
# list of locally available clients to check for their versions
config.vagrant_logs.clients_to_check = ['vagrant', 'VBoxManage']
end
Make sure you are using a Bundler version which is compatible with Vagrant which comes from GitHub like defined here:
group :development do
gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git'
end
Bundler version 1.10.6 works fine and can be installed like this:
gem install bundler -v '~> 1.10.6'
Then, when you want to test Bib Vagrant use:
bundle _1.10.6_ exec vagrant
Happy developing and testing.
See Contributing
FAQs
Unknown package
We found that vagrant-logs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.