Merge lp:~axwalk/juju-core/syslog-port-mutable into lp:~go-bot/juju-core/trunk
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2354 |
Proposed branch: | lp:~axwalk/juju-core/syslog-port-mutable |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
50 lines (+0/-11) 3 files modified
cmd/juju/environment_test.go (+0/-1) environs/config/config.go (+0/-1) environs/config/config_test.go (+0/-9) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/syslog-port-mutable |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+208269@code.launchpad.net |
Commit message
Make syslog-port mutable
This is the first in a series of changes that
will change how we manage rsyslog configuration.
syslog-port will eventually need to be mutable
to handle upgrading from UDP to TLS.
Description of the change
Make syslog-port mutable
This is the first in a series of changes that
will change how we manage rsyslog configuration.
syslog-port will eventually need to be mutable
to handle upgrading from UDP to TLS.
To post a comment you must log in.
Reviewers: mp+208269_ code.launchpad. net,
Message:
Please take a look.
Description:
Make syslog-port mutable
This is the first in a series of changes that
will change how we manage rsyslog configuration.
syslog-port will eventually need to be mutable
to handle upgrading from UDP to TLS.
https:/ /code.launchpad .net/~axwalk/ juju-core/ syslog- port-mutable/ +merge/ 208269
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/68940043/
Affected files (+2, -11 lines): environment_ test.go config/ config. go config/ config_ test.go
A [revision details]
M cmd/juju/
M environs/
M environs/
Index: [revision details] 20140225144730- q94k9zc09x4xifz 0
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: cmd/juju/ environment_ test.go environment_ test.go' environment_ test.go 2013-11-28 09:11:12 +0000 environment_ test.go 2014-02-25 13:27:10 +0000
=== modified file 'cmd/juju/
--- cmd/juju/
+++ cmd/juju/
@@ -167,7 +167,6 @@
"firewall-mode": "global",
"state-port": "1",
"api-port": "666",
- "syslog-port": "42",
}
func (s *SetEnvironment Suite) TestImmutableCo nfigValues( c *gc.C) {
Index: environs/ config/ config. go config/ config. go' config/ config. go 2014-02-21 10:00:22 +0000 config/ config. go 2014-02-26 04:16:58 +0000 timeout" , retry-delay" , addresses- delay",
=== modified file 'environs/
--- environs/
+++ environs/
@@ -791,7 +791,6 @@
"firewall-mode",
"state-port",
"api-port",
- "syslog-port",
"bootstrap-
"bootstrap-
"bootstrap-
Index: environs/ config/ config_ test.go config/ config_ test.go' config/ config_ test.go 2014-02-21 10:00:22 +0000 config/ config_ test.go 2014-02-26 04:16:58 +0000 Attrs{" api-port" : 42}, Attrs{" syslog- port": 345}, Attrs{" syslog- port": 42}, Attrs{" state-port" : config. DefaultStatePor t}, Attrs{" api-port" : 42}, Attrs{" syslog- port": 42}, Attrs{" bootstrap- timeout" : 5},
=== modified file 'environs/
--- environs/
+++ environs/
@@ -1072,11 +1072,6 @@
new: testing.
err: `cannot change api-port from 17070 to 42`,
}, {
- about: "Cannot change the syslog-port",
- old: testing.
- new: testing.
- err: `cannot change syslog-port from 345 to 42`,
-}, {
about: "Can change the state-port from explicit-default to
implicit-default",
old: testing.
}, {
@@ -1097,10 +1092,6 @@
new: testing.
err: `cannot change api-port from 17070 to 42`,
}, {
- about: "Cannot change the syslog-port from implicit-default to different
value",
- new: testing.
- err: `cannot change syslog-port from 514 to 42`,
-}, {
about: "Cannot change the bootstrap-timeout from implicit-default to
different value",
new: testing.
err: `cannot change bootstrap-timeout from 600 to 5`,