Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/buildbot/templates/buildslave_fragment.erb

Issue 29325436: Issue 1281 - Introduce module buildbot (Closed)
Patch Set: Issue 1281 - Rebase branch buildbot on top of upstream Created Sept. 5, 2015, 11:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/buildbot/templates/buildslave_fragment.erb
diff --git a/modules/buildbot/templates/buildslave_fragment.erb b/modules/buildbot/templates/buildslave_fragment.erb
new file mode 100644
index 0000000000000000000000000000000000000000..f67b4e3d1578b420a587dc0315d24285e04243af
--- /dev/null
+++ b/modules/buildbot/templates/buildslave_fragment.erb
@@ -0,0 +1,9 @@
+# Puppet: <%= @title %>
+index=$(($index + 1))
+MASTER_BASEDIR[$index]=<%= @basedir %>
+MASTER_ENABLED[$index]=<%= ([:stopped, :false, false].include? @ensure)? 0: 1 %>
+MASTER_NAME[$index]=<%= @name %>
+MASTER_OPTIONS[$index]=
+MASTER_PREFIXCMD[$index]=
+MASTER_USER[$index]=<%= @user %>
+

Powered by Google App Engine
This is Rietveld