Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Development repository for Opscode Cookbook motd-tail

branch: master
Octocat-spinner-32 attributes [COOK-2089] Added ability to add additional text December 19, 2012
Octocat-spinner-32 libraries This cookbook is called motd-tail March 26, 2014
Octocat-spinner-32 recipes refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 spec refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 templates [COOK-4434] - remove timestamp from template to prevent a change ever… March 18, 2014
Octocat-spinner-32 test refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 .gitignore update test kitchen support for 1.0 May 16, 2013
Octocat-spinner-32 .kitchen.yml update to new bucket for boxes June 18, 2013
Octocat-spinner-32 .rubocop.yml refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 Berksfile Allow test-kitchen to run March 26, 2014
Octocat-spinner-32 CHANGELOG.md Publish 2.0.2 Changelog April 09, 2014
Octocat-spinner-32 CONTRIBUTING [COOK-1087] Update the CONTRIBUTING file to fix a minor typo March 08, 2012
Octocat-spinner-32 Cheffile refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 Gemfile refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 Guardfile refactoring into a library cookbook so Josh can have his cake and Noa… March 18, 2014
Octocat-spinner-32 LICENSE Preparing repository for splitting cookbooks into their own repos. February 28, 2012
Octocat-spinner-32 README.md [COOK-2089] Added ability to add additional text December 19, 2012
Octocat-spinner-32 TESTING.md update test kitchen support for 1.0 May 16, 2013
Octocat-spinner-32 metadata.rb Version bump to 2.0.3 (for development) April 09, 2014
README.md

Description

Updates motd.tail with Chef Roles

Requirements

Needs to be used on a system that utilizes /etc/motd.tail, e.g. Ubuntu.

Attributes

  • node['motd-tail']['additional_text'] - Additional text to add to the end of the motd.tail (e.g. unauthorized access banner).

Usage

"run_list": [
    "recipe[motd-tail]"
]

default

Updates motd.tail with useful node data

Examples

For example,

% ssh myserver.int.example.org
***
Chef-Client - myserver.int.example.org
ubuntu
samba_server
netatalk_server
munin_server
rsyslog_server
***

Additional text here when `node['motd-tail']['additional_text']` present.

Testing

This cookbook is using ChefSpec for testing.

% cd $repo
% bundle
% librarian-chef install
% ln -s ../ cookbooks/motd-tail
% rspec cookbooks/motd-tail

License and Author

Author:: Nathan Haneysmith nathan@opscode.com

Copyright:: 2009-2012, Opscode, 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.

Something went wrong with that request. Please try again.