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

aws-inspector (2) Versions 0.2.0

Installs/Configures aws-inspector

Berkshelf
Policyfile
Knife
cookbook 'aws-inspector', '~> 0.2.0'
cookbook 'aws-inspector', '~> 0.2.0', :supermarket
knife supermarket install aws-inspector
knife supermarket download aws-inspector
README
Dependencies
Quality 88%

aws-inspector

Install and manage AWS Inspector agent.

Usage

Add the recipe to the node or the role files where you want AWS inspector installed. If you want to remove AWS-inspector from a particular node, set inspector.enabled attribute to false in the node file and it will be removed.

```
{
    "name": "aws-inspector.test",
    "chef_environment": "testing",
    "run_list": [
        "recipe[aws-inspector]"
    ],
    "normal": {
        "inspector": {
            "enabled": true
        }
    }
    ...
}
```

Supported Operating Systems

  • Debian Jessie
  • Ubuntu
  • CentOS 7
  • Amazon Linux

Depends

  • apt
  • yum

Contributions

Quality Checks

Foodcritic: - All foodcritic recommendations followed except that I use symbols rather than strings to access node attributes (FC001)

```
$ sudo gem install foodcritic
$ foodcritic <path_to_recipe>
```

Kitchen: - Use Kitchen to test the cookbook against a real system. Preferably an instance machine with Ubuntu or CentOS. Note that in kitchen.yml, it is necessary to edit aws_ssh_key_id and ssh_key to point to an SSH key pair in your account.

```
$ bundle install
$ kitchen test
# =======
$ sudo gem install test-kitchen kitchen-vagrant
$ kitchen init
$ kitchen diagnose --all
```
  • Running converge $ kitchen converge default-ubuntu-1404

  • I use zsh inplace of bash. I had to do this to make kitchen work:

    $ eval "$(chef shell-init zsh)"
    

TODO: Unit tests using RSpec and ChefSpec

License

Licensed under MIT license. License text available in LICENSE.txt

While the cookbook itself is licensed under MIT, the AWS installer script, the AWS inspector agent binary and files are licensed under other licenses which may be more restrictive than MIT including GPLv2, Apache, PCRE2 and BSD licenses. Please see the following file post installation for the license text pertaining to AWS artefacts.

/opt/aws/awsagent/LICENSE

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 passed this metric

Contributing File Metric
            

0.2.0 passed this metric

Foodcritic Metric
            

0.2.0 passed this metric

No Binaries Metric
            

0.2.0 passed this metric

Publish Metric
            

0.2.0 passed this metric

Supported Platforms Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.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.2.0 passed this metric