summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/base.pp
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-04-03 19:27:50 +0200
committerJan Dittberner <jandd@cacert.org>2018-04-03 19:27:50 +0200
commit3f9c111783723806d834ba441eab2f3ea36b3657 (patch)
treef13c1736a003cbd9b6b1419b5403754b2fbf5462 /sitemodules/profiles/manifests/base.pp
parent7be27e76e2dea6dca19e0ee6677fed858ec29a08 (diff)
downloadcacert-puppet-3f9c111783723806d834ba441eab2f3ea36b3657.tar.gz
cacert-puppet-3f9c111783723806d834ba441eab2f3ea36b3657.tar.xz
cacert-puppet-3f9c111783723806d834ba441eab2f3ea36b3657.zip
Add CAcert/Puppet snippet for login message
Diffstat (limited to 'sitemodules/profiles/manifests/base.pp')
-rw-r--r--sitemodules/profiles/manifests/base.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/base.pp b/sitemodules/profiles/manifests/base.pp
index 0c7ecf6..b4b3864 100644
--- a/sitemodules/profiles/manifests/base.pp
+++ b/sitemodules/profiles/manifests/base.pp
@@ -163,4 +163,12 @@ class profiles::base (
mode => '0644',
source => 'puppet:///modules/profiles/base/resolv.conf',
}
+
+ file { '/etc/update-motd.d/20-puppetinfo':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0755',
+ source => 'puppet:///modules/profiles/base/motd-puppet.sh',
+ }
}