cookbook 'annoyances', '~> 1.0.0'
annoyances (8) Versions 1.0.0 Follow13
Removes assorted operating system annoyances.
cookbook 'annoyances', '~> 1.0.0', :supermarket
knife supermarket install annoyances
knife supermarket download annoyances
Description
Removes a number of operating system based annoyances. There are
recipes RHEL and Debian platform families.
Feel free to fork and submit your own patches.
Requirements
Platform
Supports both rhel
and debian
platform families.
- Debian, Ubuntu
- Red Hat, CentOS, Scientific, Oracle, Amazon, Fedora
If your Chef/Ohai version aren't new enough for the
node['platform_family']
attribute, then simply include the
platform-specific recipe.
Recipes
default
Looks at the node's platform_family
and includes the proper recipe,
then removes annoyances
from the node's run list on completion.
If the node's platform_family
is not found, an exception will be
raised.
rhel
Removes any preexisting firewall rules, turns off SELinux, uninstalls
httpd if it's on for some reason and removes /root/.bash_logout if it
exists. Turns off desktop services autofs, avahi-daemon, bluetooth,
puspeed, cups, gpm, haldaemon and messagebus.
If the apache2
recipe is on the node, the httpd package will not be
removed.
fedora
Just calls ::rhel
.
debian
Does an "apt-get update" and turns off apparmor and byobu (unless you
want it). Removes whoopsie, popularity-contest and unity-lens-shopping
if this ever got on a server.
ubuntu
Just calls ::debian
.
omnios
Includes annoyances::omnios
, which refreshes the package list and
publisher metadata.
Usage
Include the annoyances
recipe in your run list and it will make the
various changes, then remove itself from the node's run list on
completion. If you want to keep enforcing the annoyances
with each
run, directly include the operating system-specific recipe instead of
the default
recipe.
License and Author
Author:: Matt Ray (matt@getchef.com)
Author:: Joshua Timberman (joshua@getchef.com)
Copyright 2012-2013 Opscode, Inc.
Copyright 2013 Chef Software, Inc.
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.
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 failed this metric
FC064: Ensure issues_url is set in metadata: annoyances/metadata.rb:1
FC065: Ensure source_url is set in metadata: annoyances/metadata.rb:1
FC066: Ensure chef_version is set in metadata: annoyances/metadata.rb:1
FC069: Ensure standardized license defined in metadata: annoyances/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 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 include a tag that matches this cookbook version number
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 failed this metric
FC064: Ensure issues_url is set in metadata: annoyances/metadata.rb:1
FC065: Ensure source_url is set in metadata: annoyances/metadata.rb:1
FC066: Ensure chef_version is set in metadata: annoyances/metadata.rb:1
FC069: Ensure standardized license defined in metadata: annoyances/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 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 include a tag that matches this cookbook version number
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: annoyances/metadata.rb:1
FC066: Ensure chef_version is set in metadata: annoyances/metadata.rb:1
FC069: Ensure standardized license defined in metadata: annoyances/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 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 include a tag that matches this cookbook version number
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 include a tag that matches this cookbook version number