Permalink
Browse files

update the proc system for the apt module

  • Loading branch information...
1 parent 457a984 commit c1cb07be66bf98ba8b23d0e642356474f4384c07 @thatch45 thatch45 committed Apr 5, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 salt/modules/apt.py
View
@@ -1,9 +1,12 @@
'''
Support for APT (Advanced Packaging Tool)
'''
-
+# Import python libs
import os
+# Import Salt libs
+import salt.utils
+
def __virtual__():
'''
Confirm this module is on a Debian based system
@@ -124,7 +127,7 @@ def install(pkg, refresh=False, repo='', skip_verify=False,
salt '*' pkg.install <package name>
'''
- salt.utils.daemonize_if(__opts__['multiprocessing'])
+ salt.utils.daemonize_if(__opts__, **kwargs)
if refresh:
refresh_db()
@@ -228,7 +231,7 @@ def upgrade(refresh=True):
salt '*' pkg.upgrade
'''
- salt.utils.daemonize_if(__opts__['multiprocessing'])
+ salt.utils.daemonize_if(__opts__, **kwargs)
if refresh:
refresh_db()

0 comments on commit c1cb07b

Please sign in to comment.