Merge lp:~thumper/juju-core/014-fix-windows-build into lp:juju-core/1.14
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1747 |
Proposed branch: | lp:~thumper/juju-core/014-fix-windows-build |
Merge into: | lp:juju-core/1.14 |
Diff against target: |
128 lines (+19/-10) 5 files modified
environs/cloudinit.go (+1/-0) environs/cloudinit/cloudinit.go (+5/-5) scripts/win-installer/setup.iss (+1/-1) upstart/service.go (+4/-4) utils/file.go (+8/-0) |
To merge this branch: | bzr merge lp:~thumper/juju-core/014-fix-windows-build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nate Finch (community) | Approve | ||
Review via email: mp+186179@code.launchpad.net |
Commit message
Make bootstrap work from a windows client.
This change uses path rather than filepath for the Join methods for the cloudinit and upstart job creation.
This is because the client OS may be windows, but the code is running on linux server-side.
A util function has been added that should be used in the agent and worker code to ease the transition to supporting windows as a server OS.
The generated cloudinit content for new machines is logged out at TRACE level to provide debugging info.
Description of the change
This change uses path rather than filepath for the Join methods for the cloudinit and upstart job creation.
This is because the client OS may be windows, but the code is running on linux server-side.
A util function has been added that should be used in the agent and worker code to ease the transition to supporting windows as a server OS.
The generated cloudinit content for new machines is logged out at TRACE level to provide debugging info.
LGTM