FreeBSD Bugzilla – Attachment 169599 Details for
Bug 208996
[PATCH] sysutils/ansible: make service module respect the sleep option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
ansible.diff (text/plain), 1.58 KB, created by
Guido Falsi
on 2016-04-23 14:34:15 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2016-04-23 14:34:15 UTC
Size:
1.58 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 413866) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= ansible > PORTVERSION?= 2.0.2.0 >+PORTREVISION?= 1 > CATEGORIES= sysutils python > MASTER_SITES= http://releases.ansible.com/ansible/ > >Index: files/patch-lib_ansible_modules_core_system_service.py >=================================================================== >--- files/patch-lib_ansible_modules_core_system_service.py (nonexistent) >+++ files/patch-lib_ansible_modules_core_system_service.py (working copy) >@@ -0,0 +1,16 @@ >+--- lib/ansible/modules/core/system/service.py.orig 2016-04-19 21:55:24 UTC >++++ lib/ansible/modules/core/system/service.py >+@@ -1003,7 +1003,12 @@ class FreeBsdService(Service): >+ if self.action == "reload": >+ self.action = "onereload" >+ >+- return self.execute_command("%s %s %s %s" % (self.svc_cmd, self.name, self.action, self.arguments)) >++ ret = self.execute_command("%s %s %s %s" % (self.svc_cmd, self.name, self.action, self.arguments)) >++ >++ if self.sleep: >++ time.sleep(self.sleep) >++ >++ return ret >+ >+ # =========================================== >+ # Subclass: OpenBSD > >Property changes on: files/patch-lib_ansible_modules_core_system_service.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208996
:
169599
|
169601