manager not transmitted to pulsar?
I tried setting up 2 named managers to select from, but I'm struggling here.
Any chance this is not implemented for non-message queue pulsar?

```
File "/Users/marius/pulsar/pulsar/pulsar/web/routes.py", line 39, in _app_args
    app_args['manager'] = managers[manager_name]
KeyError: '_default_'
```

With the corresponding job_conf.xml looking like this:

```
<job_conf>
    <plugins>
         <plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner" workers="4"/>
         <plugin id="pulsar" type="runner" load="galaxy.jobs.runners.pulsar:PulsarRESTJobRunner"/>
    </plugins>
    <handlers>
        <handler id="main"/>
    </handlers>
    <destinations default="local">
        <destination id="local" runner="local">
         <env file="/Users/marius/src/galaxy/.venv/bin/activate" />
        </destination>
        <destination id="pulsar_quv" runner="pulsar">
            <param id="url">http://127.0.0.1:8913/</param>
            <param id="manager">quv</param>
            <param id="jobs_directory">/work/vandenbeek/staging</param>
            <param id="file_action_config">/Users/marius/src/galaxy/config/pulsar_action_quv.yml</param>
        </destination>
        <destination id="pulsar_qice" runner="pulsar">
            <param id="url">http://127.0.0.1:8913/</param>
            <param id="manager">qice</param>
            <param id="jobs_directory">/lustrework/vandenbeek/staging</param>
            <param id="file_action_config">/Users/marius/src/galaxy/config/pulsar_action_qice.yml</param>
        </destination>
        </destinations>
    <tools>
        <tool id="bowtie2" destination="pulsar_qice" />
        <tool id="printenv" destination="pulsar_quv" />
    </tools>
</job_conf>
```

 and this in app.yml:

```

---
managers:
  quv:
    type: queued_cli
    job_plugin: Torque
    shell_plugin: SecureShell
    shell_hostname: mesu0.dsi.upmc.fr
    shell_username: vandenbeek
    job_Resource_List: "select=1:ncpus=16:mem=32gb"
    job_User_List: "vandenbeek"
    job_destination: "quv"
    staging_directory: /work/vandenbeek/staging

  qice:
    type: queued_cli
    job_plugin: Torque
    shell_plugin: SecureShell
    shell_hostname: mesu0.dsi.upmc.fr
    shell_username: vandenbeek
    job_Resource_List: "select=1:ncpus=16:mem=32gb"
    job_User_List: "vandenbeek"
    job_destination: "qice"
    staging_directory: /lustrework/vandenbeek/staging

job_metrics_config_file: /Users/marius/pulsar/job_metrics_conf.xml
```

diff --git a/app.yml.sample b/app.yml.sample
index fa0c516..14c3bfe 100644
--- a/app.yml.sample
+++ b/app.yml.sample
@@ -2,7 +2,8 @@
 ## to an absolute path, such as /tmp/pulsar_staging or C:\\pulsar_staging
 #staging_directory: files/staging
 
-## Configure one or more named managers.
+## Configure one or more named managers (more information on configuring managers
+## can be found at http://pulsar.readthedocs.org/en/latest/job_managers.html).
 #managers:
 #  _default_:
 #    type: queued_python
diff --git a/docs/job_managers.rst b/docs/job_managers.rst
index c257430..7667048 100644
--- a/docs/job_managers.rst
+++ b/docs/job_managers.rst
@@ -158,6 +158,9 @@ the Galaxy mailing list.
 More Options
 -------------------------------
 
+Any manager can override the ``staging_directory`` used by setting this
+property in its configuration section.
+
 The ``min_polling_interval: 0.5`` option can be set on any manager to control
 how frequently Pulsar will poll the resource manager for job updates.
 
diff --git a/pulsar/managers/base/__init__.py b/pulsar/managers/base/__init__.py
index 738dc3d..513e9f6 100644
--- a/pulsar/managers/base/__init__.py
+++ b/pulsar/managers/base/__init__.py
@@ -59,7 +59,8 @@ class BaseManager(ManagerInterface):
         self.persistence_directory = getattr(app, 'persistence_directory', None)
         self.lock_manager = locks.LockManager()
         self._directory_maker = DirectoryMaker(kwds.get("job_directory_mode", None))
-        self._setup_staging_directory(app.staging_directory)
+        staging_directory = kwds.get("staging_directory", app.staging_directory)
+        self._setup_staging_directory(staging_directory)
         self.id_assigner = get_id_assigner(kwds.get("assign_ids", None))
         self.__init_galaxy_system_properties(kwds)
         self.debug = str(kwds.get("debug", False)).lower() == "true"
['docs/job_managers.rst', 'app.yml.sample', 'pulsar/managers/base/__init__.py']