prun-ops 0.4.7 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '06094432e3022bb384664b4167e330092491b08062cf02dc9542cb5825e4b1ce'
4
- data.tar.gz: 370b9da553563753d738a382eae4e04d8ffcfd9cfaa1c225e424a5d27b9d0c3a
3
+ metadata.gz: 78ce3fb6d20c37984cccf4a7a02c278c2e78358bbfdb0a7e20537359e080b3cf
4
+ data.tar.gz: db6201089574031a4477c92ef49cbe9764fb25a16fce7cf1e510a47ae72ef964
5
5
  SHA512:
6
- metadata.gz: '0283fee4b78685fecb93b00e934a45c5a2b69ba6acf6ef40036932a89cce3e8226ec78198ddf4c930d3550deadf32ee5f97f1feade63f0dd05ada7b315b91a70'
7
- data.tar.gz: 637eda7489c1711fc6388d3841f48ca847821d671a8b9a8c54a7504c3d571ba21814714f82a19f475a1c5b29f78935441915583806001f5ed9e700b1494f0b21
6
+ metadata.gz: ae76a799dd98d3cb4bba5c82ace087f77f310b113de1ed6576ae309b75ae1235b9f80a8155549637400c43f069eb55e0a3c84971178df94b1851e448b715e52a
7
+ data.tar.gz: 4dae102af84e9ab0c82fec886d4ddb853f72fbf93002be0a65965fc5603d62a79b75759972403061ca3b9b259cd3190eaf52d3b26229b916707c405a0a949f96
@@ -5,7 +5,7 @@ namespace :logrotate do
5
5
  on roles :all do
6
6
  command "#{apt_nointeractive} logrotate ncdu"
7
7
  script = <<-TEXT
8
- /var/www/mx/shared/log/*.log {
8
+ /var/www/#{fetch :application}/shared/log/*.log {
9
9
  daily
10
10
  missingok
11
11
  rotate 7
@@ -27,7 +27,7 @@ namespace :nginx do
27
27
  on roles(:web, :api) do |_host|
28
28
  execute <<-EOBLOCK
29
29
  cd /etc/ssl/certs
30
- openssl dhparam -out dhparam.pem 4096
30
+ openssl dhparam -dsaparam -out dhparam.pem 2048
31
31
  EOBLOCK
32
32
  template "vhost_ssl.conf", "/etc/nginx/conf.d/vhost.conf"
33
33
  invoke "nginx:restart"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Prun
4
4
  module Ops
5
- VERSION = "0.4.7"
5
+ VERSION = "0.4.9"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prun-ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - jlebrijo