smartos : change default config directory for Salt services

This commit is contained in:
mguegan 2013-05-20 13:00:38 +02:00
parent 572fe62c5f
commit 89de6a1606
3 changed files with 6 additions and 3 deletions

View file

@ -35,7 +35,7 @@
<exec_method type="method"
name="start"
exec="/opt/local/bin/salt-master"
exec="/opt/local/bin/salt-master -c %{config_dir}"
timeout_seconds="60"/>
<exec_method type="method"
@ -50,6 +50,7 @@
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="/opt/local/etc/salt/master"/>
<propval name="config_dir" type="astring" value="/opt/local/etc/salt"/>
</property_group>
<stability value="Unstable"/>

View file

@ -35,7 +35,7 @@
<exec_method type="method"
name="start"
exec="/opt/local/bin/salt-minion"
exec="/opt/local/bin/salt-minion -c %{config_dir}"
timeout_seconds="60"/>
<exec_method type="method"
@ -50,6 +50,7 @@
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="/opt/local/etc/salt/minion"/>
<propval name="config_dir" type="astring" value="/opt/local/etc/salt"/>
</property_group>
<stability value="Unstable"/>

View file

@ -35,7 +35,7 @@
<exec_method type="method"
name="start"
exec="/opt/local/bin/salt-syndic"
exec="/opt/local/bin/salt-syndic -c %{config_dir}"
timeout_seconds="60"/>
<exec_method type="method"
@ -50,6 +50,7 @@
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="/opt/local/etc/salt/master"/>
<propval name="config_dir" type="astring" value="/opt/local/etc/salt"/>
</property_group>
<stability value="Unstable"/>