Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Allow setting variable for command_endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Peitz committed Jun 16, 2016
1 parent ebe4bac commit 0bdc150
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/default/object.applyservice.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ apply Service <%= options['set'].nil? ? object.inspect : "for (#{options['set']}
volatile = <%= options['volatile'].inspect %>
<%- end -%>
<%- if options['command_endpoint'] -%>
command_endpoint = <%= options['command_endpoint'].inspect %>
command_endpoint = <%= options['command_endpoint'] %>
<%- end -%>
<%- if options['notes'] -%>
notes = <%= options['notes'].inspect %>
Expand Down
2 changes: 1 addition & 1 deletion templates/default/object.environment.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object Host <%= node_hash['fqdn'].inspect %> {
volatile = <%= @volatile.inspect %>
<%- end -%>
<%- if @command_endpoint -%>
command_endpoint = <%= @command_endpoint.inspect %>
command_endpoint = <%= @command_endpoint %>
<%- end -%>
<%- if @notes -%>
notes = <%= @notes.inspect %>
Expand Down
2 changes: 1 addition & 1 deletion templates/default/object.host.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
volatile = <%= options['volatile'].inspect %>
<%- end -%>
<%- if options['command_endpoint'] -%>
command_endpoint = <%= options['command_endpoint'].inspect %>
command_endpoint = <%= options['command_endpoint'] %>
<%- end -%>
<%- if options['notes'] -%>
notes = <%= options['notes'].inspect %>
Expand Down
2 changes: 1 addition & 1 deletion templates/default/object.service.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
volatile = <%= options['volatile'].inspect %>
<%- end -%>
<%- if options['command_endpoint'] -%>
command_endpoint = <%= options['command_endpoint'].inspect %>
command_endpoint = <%= options['command_endpoint'] %>
<%- end -%>
<%- if options['notes'] -%>
notes = <%= options['notes'].inspect %>
Expand Down

0 comments on commit 0bdc150

Please sign in to comment.