Merge pull request #681 from enovance/flexible-motd
init: bring motd more flexible
This commit is contained in:
commit
5039a4b78f
@ -22,7 +22,8 @@ class cloud(
|
|||||||
$rhn_registration = undef,
|
$rhn_registration = undef,
|
||||||
$root_password = 'root',
|
$root_password = 'root',
|
||||||
$dns_ips = ['8.8.8.8', '8.8.4.4'],
|
$dns_ips = ['8.8.8.8', '8.8.4.4'],
|
||||||
$site_domain = 'mydomain'
|
$site_domain = 'mydomain',
|
||||||
|
$motd_title = 'eNovance IT Operations',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
|
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
|
||||||
@ -37,14 +38,13 @@ class cloud(
|
|||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => "
|
content => "
|
||||||
############################################################################
|
############################################################################
|
||||||
# eNovance IT Operations #
|
# ${motd_title} #
|
||||||
############################################################################
|
############################################################################
|
||||||
# #
|
# #
|
||||||
# *** RESTRICTED ACCESS *** #
|
# *** RESTRICTED ACCESS *** #
|
||||||
# Only the authorized users may access this system. #
|
# Only the authorized users may access this system. #
|
||||||
# Any attempted unauthorized access or any action affecting the computer #
|
# Any attempted unauthorized access or any action affecting this computer #
|
||||||
# system of eNovance is punishable under articles 323-1 to 323-7 of #
|
# system is punishable by the law of local country. #
|
||||||
# French criminal law. #
|
|
||||||
# #
|
# #
|
||||||
############################################################################
|
############################################################################
|
||||||
This node is under the control of Puppet ${::puppetversion}.
|
This node is under the control of Puppet ${::puppetversion}.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user