Skip to content

Commit

Permalink
fixed configuration for presets and services (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes committed Jul 3, 2017
1 parent 128de44 commit ed52667
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/Bundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public function getConfigTreeBuilder()
->prototype('array')
->children()
->scalarNode('plugin')->end()
->arrayNode('process')
->defaultValue([])
->prototype('scalar')->end()
->end()
->arrayNode('parameter')
->prototype('variable')->end()
->end()
Expand Down
8 changes: 4 additions & 4 deletions src/Bundle/Resources/config/ssh-commands.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<service id="nanbando.server.abstract_ssh.backup"
class="Nanbando\Core\Server\Command\Ssh\SshBackupCommand"
abstract="true">
<argument type="service"><!-- ssh --></argument>
<argument><!-- ssh --></argument>
<argument type="service" id="output"/>

<tag name="nanbando.ssh.abstract_server_command" command="backup"/>
Expand All @@ -15,7 +15,7 @@
<service id="nanbando.server.abstract_ssh.get"
class="Nanbando\Core\Server\Command\Ssh\SshGetCommand"
abstract="true">
<argument type="service"><!-- ssh --></argument>
<argument><!-- ssh --></argument>
<argument type="service" id="storage"/>
<argument type="service" id="output"/>

Expand All @@ -25,7 +25,7 @@
<service id="nanbando.server.abstract_ssh.information"
class="Nanbando\Core\Server\Command\Ssh\SshInformationCommand"
abstract="true">
<argument type="service"><!-- ssh --></argument>
<argument><!-- ssh --></argument>
<argument type="service" id="input"/>
<argument type="service" id="output"/>

Expand All @@ -35,7 +35,7 @@
<service id="nanbando.server.abstract_ssh.list_backups"
class="Nanbando\Core\Server\Command\Ssh\SshListBackupsCommand"
abstract="true">
<argument type="service"><!-- ssh --></argument>
<argument><!-- ssh --></argument>
<argument type="service" id="output"/>

<tag name="nanbando.ssh.abstract_server_command" command="list:backups"/>
Expand Down

0 comments on commit ed52667

Please sign in to comment.