chef/templates/default/manifest.xml.erb in poise-service-solaris-0.1.2 vs chef/templates/default/manifest.xml.erb in poise-service-solaris-0.1.3
- old
+ new
@@ -13,10 +13,10 @@
<dependency restart_on="none" type="service"
name="multi_user_dependency" grouping="require_all">
<service_fmri value="svc:/milestone/multi-user"/>
</dependency>
<exec_method timeout_seconds="60" type="method" name="start"
- exec="<%= @command %>">
+ exec="<%= @command.encode(:xml => :text) %>">
<method_context working_directory="<%= @directory %>">
<method_credential user="<%= @user %>" />
<% unless @environment.empty? %>
<method_environment>
<% @environment.each do |name,value| %>