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

Ricky Zhou ricky at fedoraproject.org
Wed Aug 12 03:56:51 UTC 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20090811/4069a3b0/attachment.sig>


More information about the Fedora-infrastructure-list mailing list