[Change Request] Don't try to restart iscsi{,d}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In light of what I just did to xen15, I'd like to make this change so
that puppet never makes the same mistake :-)

---
 modules/iscsi-initiator-utils/manifests/init.pp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/iscsi-initiator-utils/manifests/init.pp b/modules/iscsi-initiator-utils/manifests/init.pp
index 4fbd54c..193b377 100644
--- a/modules/iscsi-initiator-utils/manifests/init.pp
+++ b/modules/iscsi-initiator-utils/manifests/init.pp
@@ -33,7 +33,9 @@ class iscsi-initiator-utils::initiator {
     file { '/etc/iscsi/initiatorname.iscsi':
         content => template("iscsi-initiator-utils/initiatorname.iscsi.erb"),
         require => Package['iscsi-initiator-utils'],
-        notify => [Service['iscsi'], Service['iscsid']],
+        # Never, ever notify this service - do any restarts manually
+        # after making sure that nothing is using a disk on iscsi.
+        #notify => [Service['iscsi'], Service['iscsid']],
     }
 }
 
-- 
1.5.5.6

Attachment: pgpoO8vOzZH08.pgp
Description: PGP signature

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux