On 12 January 2011 19:08, Zman112233 <zacharymikl...@hotmail.com> wrote:

> I'd like to create a banner for anyone logging into a list of servers
> to see (i.e. Unauthorized access prohibited, you're being watched,
> etc...).

I have a "prettymotd" module. The init.pp reads:

class prettymotd {
        file { "/etc/motd":
                content => template("prettymotd/motd.erb"),
                ensure  => present
        }
}

and the motd.erb is:-

hostname:      <%= fqdn %>
type:          <%= operatingsystem %> <%= operatingsystemrelease %>
<%= kernelversion %> <%= kernel %>
hardware:      <%= hardwaremodel %>

HTH

Gary



-- 
Gary Law
Email/Chat googletalk/messenger: gary....@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to