Commit Graph

75 Commits

Author SHA1 Message Date
f621f97e75 promtail config for nginx. 2020-09-11 02:02:07 +09:00
110f8ae8bc systemd config for prmtail nginx. 2020-09-11 02:01:47 +09:00
c599fccc2b Deploy promtail config & systemd config. 2020-09-11 01:59:50 +09:00
335ffa11c8 Deploy promtail & systemd configs. 2020-09-07 23:06:06 +09:00
e750ac0ce9 Set up promtail:
- Deploy `systemd` config file
- Deploy `promtail` basic config file
- Deploy `rsyslog` config file
- Deploy `logrotated` config file
2020-09-07 22:17:13 +09:00
872382df1d Install promtail. 2020-09-07 22:17:13 +09:00
ee975266e0 Specify the cookbook-specific attiributes. 2020-09-07 22:17:13 +09:00
8931d6709c Create the entrypoint .rb. 2020-09-07 22:17:13 +09:00
7e3f6eba3d Add gzip settings. 2020-09-07 00:52:39 +09:00
2de591be19 Update cron settings. 2020-09-06 13:28:02 +09:00
860ea17d05 Force link to /opt/lego/lego. 2020-09-06 13:27:35 +09:00
3f6df758e2 Install direnv. 2020-08-09 15:41:13 +09:00
c969038bdc Deploy the alert settings. 2020-07-19 01:07:00 +09:00
b4be40871c Add federation settings. 2020-07-18 20:22:56 +09:00
9c7b88f200 Delete the monitoring setting for statup. 2020-07-18 20:20:17 +09:00
081e7a6994 Modify the external labels. 2020-07-18 20:12:43 +09:00
ff6d4a7185 Enable integration with Alert Manager. 2020-07-18 20:07:38 +09:00
6f0f7ff472 Add alert settings. 2020-07-18 20:07:32 +09:00
2c70f62509 Add configuration file for Alert Manager. 2020-07-18 19:44:12 +09:00
2d36a53462 Add recipe for setting up Alert Manager 2020-07-18 19:44:11 +09:00
4d0f4fde4c Add recipe for installing Alertmanager. 2020-07-18 19:44:10 +09:00
64ec53f6fc Add Alertmanage attributes for itamae. 2020-07-18 19:44:10 +09:00
553bf71391 Install and Setup Alert Manager 2020-07-18 19:44:10 +09:00
1eca8560a7 Rename Prometheus install & setup recipes. 2020-07-18 19:43:49 +09:00
b11cc232f5 Open port for exporter_proxy. 2020-07-18 14:23:35 +09:00
23bba10ab0 Change the target exporter port number. 2020-07-18 14:23:00 +09:00
49cf603406 Change the listening port of exporter_proxy. 2020-07-18 14:22:32 +09:00
d57fbcbc93 Delete the monitoring settings for consul. 2019-11-25 00:09:04 +08:00
a4822fe9ef Do not deploy the monitoring settings for consul 2019-11-25 00:08:20 +08:00
36c27f24fe Delete grafana-front cookbook. 2019-11-13 11:36:35 +08:00
bd0043cebf Deploy the basic auth file. 2019-11-13 11:31:27 +08:00
d6d8b2a5d2 Create directory for staging environment. 2019-11-13 11:30:38 +08:00
40e7c26656 Install nginx-build when finding a newer version. 2019-11-08 00:29:31 +08:00
dc6b5a2f01 Install prometheus when finding a newer version. 2019-11-08 00:29:15 +08:00
a8b637a51e Install node_exporter when finding a newer version. 2019-11-08 00:29:00 +08:00
45fe078188 Install consul-template when finding a newer version. 2019-11-08 00:28:45 +08:00
e0820892d4 Install consul, when finding a newer version. 2019-11-08 00:28:13 +08:00
2c96bd7276 Modify the way of generating swap image. 2019-11-05 23:20:35 +08:00
46929fe87a Delete net.ipv4.tcp_tw_recycle=1. 2019-11-05 23:17:54 +08:00
482c71ece1 Get SSL certificate first. 2019-11-05 23:17:01 +08:00
e19fd992d3 Create storage director for blog data. 2019-11-05 23:16:25 +08:00
6cfb4cdccf fix typo: fstab -> mount 2019-11-05 23:15:14 +08:00
272afbaf2e Deploy /etc/cron.d/blog. 2019-11-06 00:12:47 +09:00
7d6ae95020 Generate ticket.key by nginx cookbook. 2019-11-06 00:12:47 +09:00
28053a2c37 Deploy dhparams_4096.pem & ticket.key. 2019-11-06 00:12:47 +09:00
37e11592cd Do not execute the maitenance procedures. 2019-11-06 00:12:47 +09:00
494f16b4f8 Use nginx repository configs 2019-11-06 00:12:46 +09:00
eddc0a517f Create sym-link to /etc/nginx config directories. 2019-11-06 00:12:46 +09:00
7349dc9b30 Clone the nginx config from the git repository. 2019-11-06 00:12:46 +09:00
b01aee85b5 Load lego.rb instead of letsencrypt.rb.
diff --git a/cookbooks/nginx/default.rb b/cookbooks/nginx/default.rb
index f7a30a7..8529d93 100644
--- a/cookbooks/nginx/default.rb
+++ b/cookbooks/nginx/default.rb
@@ -14,4 +14,4 @@ include_recipe './build.rb'
 include_recipe './setup.rb'

 # Install Let's Encrypt:
-include_recipe './letsencrypt.rb'
\ No newline at end of file
+include_recipe './lego.rb'
2019-10-27 23:50:00 +08:00