cookbook 'motd-tail', '= 5.1.0'
motd-tail
(28) Versions
5.1.0
-
Follow12
Updates motd.tail with Chef Roles
cookbook 'motd-tail', '= 5.1.0', :supermarket
knife supermarket install motd-tail
knife supermarket download motd-tail
motd-tail Cookbook
Updates motd.tail with Chef Roles
Requirements
Platforms
- Debian/Ubuntu
Chef
- Chef 12.5+
Cookbooks
- None
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]" ]
motd_tail '/etc/motd.tail' do
action :create
template_source 'motd.custom.erb'
template_cookbook 'custom.cookbook.name'
end
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.
License & Authors
Author: Cookbook Engineering Team (cookbooks@chef.io)
Copyright: 2009-2016, 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
motd-tail CHANGELOG
This file is used to list changes made in each version of the motd-tail cookbook.
5.1.0 (2017-08-09)
- Added template cookbook property, updated readme and spec tests
5.0.2 (2017-07-14)
- changed name of update-motd.d script, script is not run with underscore in name on canonical 14.04 and 16.04 default images
5.0.1 (2017-04-26)
- Update apache2 license string
5.0.0 (2017-02-27)
- Require Chef 12.5+ and remove compat_resource dep
4.1.0 (2017-01-18)
- Update chef requirement in the readme
- Show policy group/name when using policyfiles
- Fix deprecation warning
- Remove superfluous converge_by
- Convert to a custom resource
- Support Ubuntu 14.04+
4.0.1 (2016-09-08)
- Fix specs and matcher
4.0.0 (2016-09-07)
- Resolve rubocop warning
- Testing updates
- Require Chef 12+
v3.0.0 (2015-10-20)
- Updated .gitignore file
- Removed Cheffile
- Updated Test Kitchen for the new format and modern Linux distros
- Added Chef standard Rubocop config
- Added testing in Travis CI
- Added a Berksfile
- Updated contributing and testing docs
- Added maintainers.md and maintainers.toml files
- Added Travis and cookbook version badges to the readme
- Removed Chef 10 backwards compatibility
- Expanded the requirements section in the readme and clarify the minimum supported Chef release is 11
- Updated Opscode -> Chef Software
- Added a Rakefile for simplified testing
- Added a Chefignore file
- Resolved Rubocop warnings
- Added long_description to the metadata
- Added source_url and issues_url to the metadata
- Added basic Chefspec convergence test
v2.0.2 (2014-04-09)
- # 7 - Fix wrong cookbook name in template source parameter
v2.0.0 (2014-03-18)
- Refactored into a library cookbook to allow template replacement
v1.2.2 (2014-03-18)
- [COOK-4434] - remove timestamp from template to prevent a change every Chef run
v1.2.0
- [COOK-2089] - Add the ability to add additional text to motd
v1.1.0
- [COOK-1387] - additional data for MOTD
v1.0.0
- Initial public release.
Collaborator Number Metric
5.1.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
5.1.0 passed this metric
Foodcritic Metric
5.1.0 failed this metric
FC118: Resource property setting name_attribute vs. name_property: motd-tail/resources/motd_tail.rb:25
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
5.1.0 passed this metric
Testing File Metric
5.1.0 passed this metric
Version Tag Metric
5.1.0 passed this metric
5.1.0 failed this metric
5.1.0 passed this metric
Foodcritic Metric
5.1.0 failed this metric
FC118: Resource property setting name_attribute vs. name_property: motd-tail/resources/motd_tail.rb:25
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
5.1.0 passed this metric
Testing File Metric
5.1.0 passed this metric
Version Tag Metric
5.1.0 passed this metric
5.1.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
5.1.0 passed this metric
Testing File Metric
5.1.0 passed this metric
Version Tag Metric
5.1.0 passed this metric
5.1.0 passed this metric
5.1.0 passed this metric