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

Select Status

RSS

motd (12) Versions 0.4.1

Installs/Configures motd

Policyfile
Berkshelf
Knife
cookbook 'motd', '= 0.4.1', :supermarket
cookbook 'motd', '= 0.4.1'
knife supermarket install motd
knife supermarket download motd
README
Dependencies
Quality -%

Description

Installs message of the day (respects update-motd, if installed)

Recipes

default

The default recipe includes the cow and the knife-status recipes

cow

Displays a friendly warning-cow, logging onto a server in the production environment.

This is example, a domain.com production server

just in case you didn't notice the line above, maybe this cow helps:

   ___________________________________
  < YOU ARE ON A PRODUCTION SERVER! >
   -----------------------------------
          \   ^__^
           \  (oo)\_______
              (__))\/\    \
                  ||----w |
                  ||     ||

knife-status

plus a knife-status line that displays the knife status of this node. (only when the node supports update-motd)

Last chef run: 10 minutes ago

Attributes

You can specify whether to use colors in your attributes (defaults to true)

node['motd']['color'] = true

Providers

To use the provider in your cookbook, make sure you put the following line in your metadata.rb

depends 'motd'

default

The name attribute is only used if update-motd is installed on the system.
If not, it has no meaning.

Create motd using the shipped cow template

motd '50-mymotd'

Create a motd using a custom template

motd '50-mymotd' do
  cookbook 'my cookbook'
  source   'test.erb'
end

Use the default cow template, but do not use colors

motd '50-mymotd' do
  color false
end

Remove a motd (if update-motd is used only)

motd '50-mymotd' do
  action :delete
end

No quality metric results found