Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

kismet (4) Versions 0.3.0

Installs/Configures kismet

Berkshelf/Librarian
Policyfile
Knife
cookbook 'kismet', '= 0.3.0'
cookbook 'kismet', '= 0.3.0', :supermarket
knife cookbook site install kismet
knife cookbook site download kismet
README
Dependencies
Changelog
Quality

kismet Cookbook

Build Status Cookbook Version

This cookbook configures the kismet wardriving application on Ubuntu. Perfect for setting up a wardriving rig using Chef Solo.

Requirements

Chef

Chef 11+

Platform

  • Ubuntu 10.04+
  • Debian

Cookbooks:

  • apt

Attributes

The attributes in this cookbook are used to drive the configuration dynamically. The following are used for the gpsd service.

  • enable_gpsd - Install and use gpsd. Defaults to true
  • start_daemon - Start the daemon. Defaults to true
  • gpsd_options - Options to pass to the daemon. Defaults to an empty string
  • devices - Path to device. This is only needed for serial devices. Defaults to an empty string
  • usbauto - Auto discover USB devices. Defaults to true

The remaining attributes in the attributes/default.rb are directly from the kismet.conf file and are namespaced under node['kismet']['config']. Each attribute key corresponds to a configuratino option in the kismet.conf file.

Values can be an Integer, String or an Array. Integer and String values will be rendered like this:

key=value

Array values will get an entry for each element in the array. For example, a value of ['value', 'sale', 'option'] will be rendered like this:

key=value
key=sale
key=option

The Ruby literals "false" and "true" are not used for values of Kismet configuration options. They are string values instead.

In practical terms, these attributes:

default['kismet']['config']['version'] = "2009-newcore"
default['kismet']['config']['hidedata']     = "true"
default['kismet']['config']['enablespeech'] = "false"
default['kismet']['config']['alertbacklog']     = 50
default['kismet']['config']['ouifile'] = [
  '/etc/manuf',
  '/usr/share/wireshark/wireshark/manuf',
  '/usr/share/wireshark/manuf'
]

Will be rendered in /etc/kismet/kismet.conf:

version=2009-newcore
hidedata=true
enablespeech=false
alertbacklog=50
ouifile=/etc/manuf
ouifile=/usr/share/wireshark/wireshark/manuf
ouifile=/usr/share/wireshark/manuf

Usage

Modify attributes for the configuration as required in a role. Add recipe[kismet] to your node's run list.

Contributing

  • 1. Fork the repository on Github
  • 2. Write you change
  • 3. Submit a Pull Request using Github

Testing

Test that the default recipe converges automatically with test-kitchen.

bundle install
bundle exec kitchen test

License and Authors

Copyright:: 2013-2014, Tim Smith License:: Apache License, Version 2.0

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

apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for kismet

This file is used to list changes made in each version of the kismet cookbook.

0.3.0:

  • Use standard chef .gitignore file
  • Add .rubocop.yml file
  • Add .travis.yml for testing
  • Add Berksfile
  • Add Contributing doc
  • Add gemfile for development / testing dependencies
  • Add badges to the readme
  • Better document Chef / Platform deps in the readme
  • Added default['kismet']['config']['logdefault']
  • Add debian as a supported platform
  • Add source_url and issues_url in the metadata file
  • Add basic converge chefspec
  • Add chefignore file to limit what files are uploaded to the server

0.2.0:

  • Dynamic (and much improved) configuration generation. Allow values in the kismet.conf file are now tuneable
  • Use the repository signature file for the kismetwireless.net apt repository

0.1.0:

  • Initial release of kismet

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.0 passed this metric

Foodcritic Metric
            

0.3.0 failed this metric

FC066: Ensure chef_version is set in metadata: kismet/metadata.rb:1
FC069: Ensure standardized license defined in metadata: kismet/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Publish Metric
            

0.3.0 passed this metric

Supported Platforms Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.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
            

0.3.0 passed this metric