Skip to content

Commit 3d5b091

Browse files
committed
Ensuring osFamily gets transformed to "3"
1 parent 21fa793 commit 3d5b091

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AzureWebFarm.OctopusDeploy.Tests/Tools/ExampleFiles/ServiceConfiguration.cscfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ServiceConfiguration serviceName="WindowsAzure5" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2013-10.2.2">
2+
<ServiceConfiguration serviceName="WindowsAzure5" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="2" osVersion="*" schemaVersion="2013-10.2.2">
33
<Role name="WebApplication1">
44
<Instances count="1" />
55
<ConfigurationSettings>

AzureWebFarm.OctopusDeploy/Tools/ServiceConfiguration.cscfg.xdt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<x:ServiceConfiguration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform" xmlns:x="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
2+
<x:ServiceConfiguration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform" xmlns:x="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" xdt:Transform="SetAttributes">
33
<x:Role>
44
<x:ConfigurationSettings>
55
<x:Setting name="OctopusServer" value="http://OCTOPUSSERVERURL/" xdt:Transform="InsertIfMissing" xdt:Locator="Match(name)" />

0 commit comments

Comments
 (0)