Permalink
Browse files

Merge pull request #57314 from juju-solutions/fix/lb-lint

Automatic merge from submit-queue (batch tested with PRs 56947, 56349, 57140, 53686, 57314). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix lint errors on Juju LB

**What this PR does / why we need it**: This lint fixes block the build of the juju charms.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:


**Special notes for your reviewer**:

**Release note**:

```NONE

```
  • Loading branch information...
k8s-merge-robot committed Dec 18, 2017
2 parents 4c2a78e + adf3c21 commit 4956e65d5926c02840cc0854d423ac31af29065f
Showing with 17 additions and 16 deletions.
  1. +17 −16 cluster/juju/layers/kubeapi-load-balancer/reactive/load_balancer.py
@@ -37,24 +37,25 @@
apilb_nginx = """/var/log/nginx.*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 www-data adm
sharedscripts
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\
run-parts /etc/logrotate.d/httpd-prerotate; \\
fi \\
endscript
postrotate
invoke-rc.d nginx rotate >/dev/null 2>&1
endscript
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 www-data adm
sharedscripts
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\
run-parts /etc/logrotate.d/httpd-prerotate; \\
fi \\
endscript
postrotate
invoke-rc.d nginx rotate >/dev/null 2>&1
endscript
}"""
@when('certificates.available')
def request_server_certificates(tls):
'''Send the data that is required to create a server certificate for

0 comments on commit 4956e65

Please sign in to comment.