Skip to content

Commit e1c4759

Browse files
author
NimishaS
committed
Passing bootstrap version option
1 parent a9111ef commit e1c4759

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,15 @@ private void SetPublicConfig()
227227
{
228228
if (IsBootstrapOptionsEmpty)
229229
{
230-
this.PublicConfiguration = string.Format("{{{0},{1},{2}}}",
230+
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3}}}",
231231
string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
232232
string.Format(DeleteChefConfigTemplate, DeleteChefConfig),
233233
string.Format(ClientRbTemplate, ClientConfig),
234234
string.Format(BootstrapVersionTemplate, BootstrapVersion));
235235
}
236236
else
237237
{
238-
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3}}}",
238+
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}}",
239239
string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
240240
string.Format(DeleteChefConfigTemplate, DeleteChefConfig),
241241
string.Format(ClientRbTemplate, ClientConfig),
@@ -247,7 +247,7 @@ private void SetPublicConfig()
247247
{
248248
if (IsBootstrapOptionsEmpty)
249249
{
250-
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3}}}",
250+
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}}",
251251
string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
252252
string.Format(DeleteChefConfigTemplate, DeleteChefConfig),
253253
string.Format(ClientRbTemplate, ClientConfig),
@@ -256,7 +256,7 @@ private void SetPublicConfig()
256256
}
257257
else
258258
{
259-
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}}",
259+
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4},{5}}}",
260260
string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
261261
string.Format(DeleteChefConfigTemplate, DeleteChefConfig),
262262
string.Format(ClientRbTemplate, ClientConfig),
@@ -265,7 +265,6 @@ private void SetPublicConfig()
265265
string.Format(BootstrapVersionTemplate, BootstrapVersion));
266266
}
267267
}
268-
269268
}
270269

271270
protected override void ValidateParameters()

0 commit comments

Comments
 (0)