Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Command line tool to run chef inspec tests on multiple unix servers. This gem writes a config to the home directory with support for multiple projects, stages and servers per project.
Note: There is currently no support for windows. The current version only works via ssh protocol.
Add this line to your application's Gemfile:
gem 'inspec-multi-server'
And then execute:
$ bundle
Or install it yourself as:
$ gem install inspec-multi-server
Example config:
{
"cookbook-name": {
"development": {
"path": "/path/to/cookbook",
"servers": [
{
"user": "username",
"publickey": "~/.ssh/id_rsa",
"host": "localhost"
},
{
"user": "username",
"publickey": "~/.ssh/id_rsa",
"host": "localhost1"
}
]
}
}
}
Note: You may need to run rbenv rehash to make the command available. Check your path if the command is not available.
To run the inspec-multi-server command line tool do the following:
Run inspec-multi-server to create example config:
$ inspec-multi-server
Update ~/.inspec-multi-server with your settings:
$ vim ~/.inspec-multi-server
Run help:
$ inspec-multi-server --help
NAME
inspec-multi-server - command line tool for inspec to run inspec tests on multiple servers.
SYNOPSIS
inspec-multi-server [global options] command [command options] [arguments...]
VERSION
0.0.4
GLOBAL OPTIONS
--help - Show this message
-v, --[no-]verbose - Show additional output.
--version - Display the program version
COMMANDS
help - Shows a list of commands or help for one command
run - Run inspec
Run help on run command:
$ inspec-multi-server run --help
NAME
run - Run inspec
SYNOPSIS
inspec-multi-server [global options] run [command options]
DESCRIPTION
Run inspec on multiple servers.
COMMAND OPTIONS
--project=arg - project (default: cme-eventhub-core)
--stage=arg - stage (default: development)
--test=arg - test (default: all)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that inspec-multi-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.