rapid7-cookbooks / nexpose

This cookbook installs Nexpose
12 stars 10 forks source link

DEPRECATED - No longer developed. Nexpose Cookbook

Build Status Cookbook Version License

This cookbook installs a Nexpose console or engine.

Requirements

Platforms:

The cookbook currently has only been tested on Ubuntu 12.04 and Windows Server 2012

Attributes

nexpose::default

Key Type Description Default
['nexpose']['installer']['linux']['bin'] String File name of the Nexpose installer for Linux. Rapid7Setup-Linux64.bin
['nexpose']['installer']['windows']['bin'] String File name of the Nexpose installer for Windows. Rapid7Setup-Windows64.exe
['nexpose']['installer']'['bin'] String File name of the Nexpose installer. This is one is used by both Linux and Windows cookbooks. node['nexpose']['installer'][node['os']]['bin']
['nexpose']['installer']['uri'] String Remote path to the Nexpose installer. http://download2.rapid7.com/download/NeXpose-v4/#{node['nexpose']['installer']['bin']}
['nexpose']['install_path']['linux'] String Path to install Nexpose. /opt/rapid7/nexpose
['nexpose']['install_path']['windows'] String Path to install Nexpose. C:\Program Files\Rapid7\Nexpose
['nexpose']['service_action'] Array Default actions to use for the service resource. [:enable, :start]
['nexpose']['first_name'] String First name of registered product/license owner. Nexpose
['nexpose']['last_name'] String Last name of registered product/license owner. Dev
['nexpose']['company_name'] String Company name of registered product/license owner. Rapid7
['nexpose']['username'] String Global Administrator Username nxadmin
['nexpose']['password'] String Global Administrator Password nxadmin
['nexpose']['require_password_change'] Boolean If true, requires user to change their password from nxadmin upon first login false
['nexpose']['install_args'] Array Array of arguments passed to the installer. ['-q', '-dir', node['nexpose']['install_path'][node[os]], '-Dinstall4j.suppressUnattendedReboot=' + node['nexpose']['suppress_reboot'].to_s, '-varfile', File.join(Chef::Config['file_cache_path'], 'response.varfile')]
['nexpose']['custom_properties'] Hash Hash of key value pairs to be written to /{nsc,nse}/CustomEnvironment.properties {}

Usage

nexpose::default

Just include nexpose in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[nexpose]"
  ]
}

To-Do

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Copyright 2013-2014, Rapid7, LLC.

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.