Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/168220
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/20/168220/1
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: newchange
Gerrit-Change-Id: I3e3a6f7408bd8ced944aaea50d274bada0aa7d40
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits