FreeBSD Bugzilla – Attachment 169601 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]
Make FreeBSD subclass respect the sleep option.
patch.diff (text/plain), 1.56 KB, created by
Nikolai Lifanov
on 2016-04-23 14:55:22 UTC
(
hide
)
Description:
Make FreeBSD subclass respect the sleep option.
Filename:
MIME Type:
Creator:
Nikolai Lifanov
Created:
2016-04-23 14:55:22 UTC
Size:
1.56 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 413876) >+++ Makefile (working copy) >@@ -17,6 +17,8 @@ > ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \ > ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 > >+EXTRA_PATCHES?= ${FILESDIR}/extra-patch-8aac5ae >+ > NO_ARCH= yes > USES= cpe python:2 shebangfix > USE_PYTHON= autoplist distutils >Index: files/extra-patch-8aac5ae >=================================================================== >--- files/extra-patch-8aac5ae (nonexistent) >+++ files/extra-patch-8aac5ae (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/extra-patch-8aac5ae >___________________________________________________________________ >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
Flags:
lifanov
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 208996
:
169599
| 169601