cookbook 'dynamic_motd', '~> 0.1.5'
dynamic_motd (6) Versions 0.1.5 Follow1
Configures a dynamic MOTD on linux systems.
cookbook 'dynamic_motd', '~> 0.1.5', :supermarket
knife supermarket install dynamic_motd
knife supermarket download dynamic_motd
dynamic_motd
Shows system statistics and a static message at logon.
This is a message!
_ _____ _ _ _
___ ___ _ __ | ||___ | | |_ ___ _ __ ___ _ __ | | __ _| |_ ___
/ __/ _ \ '_ \| __| / /____| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \
| (_| __/ | | | |_ / /_____| || __/ | | | | | |_) | | (_| | || __/
\___\___|_| |_|\__/_/ \__\___|_| |_| |_| .__/|_|\__,_|\__\___|
|_|
Welcome to "CentOS Linux release 7.3.1611 (Core) " (3.10.0-514.10.2.el7.x86_64).
System information as of: Tue Mar 7 12:53:38 EST 2017
System Load: 0.00, 0.01, 0.05 System Uptime: 3 days 21 hours 9 min 45 sec
Memory Usage: 0.0% Swap Usage: 0.0%
Usage On /: 48G Access Rights on /: (rw
Local Users: 1 Whoami: root
Processes: 107
Interface MAC Address IP Address
eno16777984 00:50:56:80:5b:11 192.168.0.2/24
Usage
dynamic_motd::default
Just include dynamic_motd
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[dynamic_motd]" ] }
Attributes
Message
Static message to display with the system statistics
Default Value:
''
Ruby usage:
node['dynamic_motd']['message'] = 'This is a message!'
JSON usage:
{ "dynamic_motd": { "message": "This is a message!" } }
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.5 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
0.1.5 failed this metric
FC066: Ensure chef_version is set in metadata: dynamic_motd/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 passed this metric
0.1.5 failed this metric
0.1.5 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
0.1.5 failed this metric
FC066: Ensure chef_version is set in metadata: dynamic_motd/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 passed this metric
0.1.5 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 passed this metric
0.1.5 failed this metric
0.1.5 passed this metric