Dzahn has submitted this change and it was merged.
Change subject: motd - update-motd.d file must be executable
......................................................................
motd - update-motd.d file must be executable
the files created by this in /etc/update-motd.d must
be executable scripts for this to work.
per default it will create them as 0644 and run-parts
will not execute it, so the output won't end up in /run/motd
Change-Id: I3e3a6f7408bd8ced944aaea50d274bada0aa7d40
---
M modules/motd/manifests/script.pp
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/motd/manifests/script.pp b/modules/motd/manifests/script.pp
index b57575e..1cf095f 100644
--- a/modules/motd/manifests/script.pp
+++ b/modules/motd/manifests/script.pp
@@ -45,6 +45,7 @@
ensure => $ensure,
content => $content,
source => $source,
+ mode => '0555',
notify => Exec['update_motd'],
}
}
--
To view, visit https://gerrit.wikimedia.org/r/168220
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3e3a6f7408bd8ced944aaea50d274bada0aa7d40
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits