Permalink
Browse files

Bug 870414 - setup scheduler manifests in puppetAgain. r=catlee

  • Loading branch information...
1 parent 27fdae6 commit cd4cb0b317125aea4ab51d25b16db040c31819ff @rail rail committed Nov 4, 2013
View
@@ -1,3 +1,4 @@
include buildapi/config/deployment.ini_tmpl
recursive-include buildapi/public *
recursive-include buildapi/templates *
+recursive-include buildapi/scripts *
No changes.
@@ -577,7 +577,8 @@ def do_cancel_revision(self, message_data, message):
msgs.append(result['msg'])
return {"errors": errors, "msg": "\n".join(msgs)}
-if __name__ == '__main__':
+
+def main():
import os
from optparse import OptionParser
from ConfigParser import RawConfigParser
@@ -646,3 +647,6 @@ def do_cancel_revision(self, message_data, message):
message = consumer.fetch(enable_callbacks=True)
if not message:
break
+
+if __name__ == '__main__':
+ main()
View
@@ -37,5 +37,8 @@
[paste.app_install]
main = pylons.util:PylonsInstaller
+
+ [console_scripts]
+ selfserve-agent = buildapi.scripts.selfserve_agent:main
""",
)

0 comments on commit cd4cb0b

Please sign in to comment.