BBlack has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/393626 )

Change subject: kmod::blacklist - allow undefined update-initramfs
......................................................................

kmod::blacklist - allow undefined update-initramfs

Change-Id: Ie7cd3d0e0454f90f79d7f97bcb0dd43aea0e7976
---
M modules/kmod/manifests/blacklist.pp
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/26/393626/1

diff --git a/modules/kmod/manifests/blacklist.pp 
b/modules/kmod/manifests/blacklist.pp
index 46649f3..7c9509d 100644
--- a/modules/kmod/manifests/blacklist.pp
+++ b/modules/kmod/manifests/blacklist.pp
@@ -20,6 +20,8 @@
         group   => 'root',
         mode    => '0444',
         content => template('kmod/blacklist.conf.erb'),
-        notify  => Exec['update-initramfs'],
     }
+
+    # This exec is in base only for jessie+
+    File["/etc/modprobe.d/blacklist-${name}.conf"] ~> Exec['update-initramfs']
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/393626
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7cd3d0e0454f90f79d7f97bcb0dd43aea0e7976
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to