cookbook 'pentestenv', '= 1.0.0'
pentestenv (3) Versions 1.0.0 Follow1
The pentest-env Cookbook
cookbook 'pentestenv', '= 1.0.0', :supermarket
knife supermarket install pentestenv
knife supermarket download pentestenv
pentestenv Cookbook -
The Pentest-env Cookbook
Installs pentest-env and configures pentestrc resources files.
Requirements
Platforms
The following platforms and versions are tested and supported using Opscode's test-kitchen.
- Debian 9
- Ubuntu 16.04
Attributes
pentestenv::default
Key | Type | Description |
---|---|---|
[pentestenv][install_dir] |
String | Path for pentest-env installation |
[pentestenv][bin_script] |
String | pentest-env symlink location (default: /usr/local/bin/pentest-env
|
[pentestenv][repository] |
String | pentest-env repository (default: https://github.com/Sliim/pentest-env ) |
[pentestenv][reference] |
String | pentest-env repository branch or tag (default: master ) |
[pentestenv][resources] |
Hash | Hash of pentestrc resources to deploy (default: {} ) |
Usage
pentestenv::default
Include the pentestenv
recipe in your run_list to install pentest-env:
{ "name":"my_node", "run_list": [ "recipe[pentestenv]" ] }
LWRP
pentestenv_rc
You can use the pentestenv_rc
LWRP to configure pentestrc resource files:
pentestenv_rc '/root/.pentestrc' do
owner 'root'
group 'root'
mode '0600'
config { instances: %w(kali) }
end
Tests
First, install dependencies:
bundle install
Run Checkstyle and ChefSpec:
bundle exec rake
Run Kitchen tests:
bundle exec rake kitchen
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Sliim sliim@mailoo.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
pentestenv CHANGELOG
This file is used to list changes made in each version of the pentestenv cookbook.
1.0.0
- Initial release of pentestenv cookbook
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric