Delete `grafana-front` cookbook.
This commit is contained in:
parent
b71896e274
commit
36c27f24fe
|
@ -1,9 +0,0 @@
|
||||||
# -------------------------------------------
|
|
||||||
# Specifying the default settings:
|
|
||||||
# -------------------------------------------
|
|
||||||
node.reverse_merge!({
|
|
||||||
'grafana-front' => {
|
|
||||||
'FQDN' => 'grafana.kazu634.com',
|
|
||||||
'production' => true
|
|
||||||
}
|
|
||||||
})
|
|
|
@ -1,2 +0,0 @@
|
||||||
include_recipe './attributes.rb'
|
|
||||||
include_recipe './ssl.rb'
|
|
|
@ -1,13 +0,0 @@
|
||||||
-----BEGIN DH PARAMETERS-----
|
|
||||||
MIICCAKCAgEA6/GQne+ypBJ1+2pUohnjJMophciS7Fj4ewJUg62gGhyfTTC5itwh
|
|
||||||
uc2BIxwcH7qhKvcNk/8vvgsryimoJ3Ln3+PZilfDci24J/WcscZAeuCZM6prSEut
|
|
||||||
wb3w6B8CjC1bHctxwiNuq/xjSFagONzWIdmPatp+fx8f1RKSwewz0K3US0ObKRcU
|
|
||||||
T3cwicl6lIsBLSGNsUSPY75UR17HNu4wPtbERxtgaawFCilJuLFUBGrP6sFTN8sW
|
|
||||||
ahbNmVxzCKW3HDeDTNNOAIG3c1JCNpY8vvRgFdmI2sE8/b5wu8r8aBnbijgmrLXI
|
|
||||||
t0LIoptwrnb1ciJlqRX/O6d9MAaX9ArGZH9B3e/j8gKesRbaWUeHTcEEmSmYLSJM
|
|
||||||
gt1libA+HtIMlYK5yiqiTNHDa6282g+GrR/QJjH5Vqp0qmNg/ulkIAJXgmbWLHxO
|
|
||||||
RRJlJVc/3wBGqYw/HP+I6oGEcLRw8rTg44UTtgf/lsy/fBdmDVFtqgX/PzktoFN2
|
|
||||||
Rjrh2hzwiltL9o8Ea1pRYNrhKs101xXTckCN0aDB2Dm3GIsUKFoqpeOpLmSOQEvp
|
|
||||||
SPi7ono4emnJoHg+y31jq4S9CslGCQFaCBWz+kolhyaTwfyPtJeWs3/ozRBd4nSz
|
|
||||||
BGzEA9s1aKcuyuIFGa3HR/P5Z4AaDNI1lBvIRS/Ex1p88CYCQfdGdTsCAQI=
|
|
||||||
-----END DH PARAMETERS-----
|
|
|
@ -1,16 +0,0 @@
|
||||||
[
|
|
||||||
'rm -f /etc/nginx/sites-enabled/*',
|
|
||||||
'ln -f -s /etc/nginx/sites-available/maintenance /etc/nginx/sites-enabled/maintenance',
|
|
||||||
'systemctl reload nginx',
|
|
||||||
"test -e /etc/letsencrypt/live/#{node['grafana']['FQDN']}/cert.pem || certbot certonly --webroot -d #{node['grafana']['FQDN']} --webroot-path /usr/share/nginx/html/ --email simoom634@yahoo.co.jp --agree-tos -n",
|
|
||||||
'/home/webadm/bin/nginx-config.sh',
|
|
||||||
].each do |cmd|
|
|
||||||
execute cmd
|
|
||||||
end
|
|
||||||
|
|
||||||
remote_file "/etc/letsencrypt/live/#{node['grafana']['FQDN']}/dhparams_4096.pem" do
|
|
||||||
owner 'root'
|
|
||||||
group 'root'
|
|
||||||
end
|
|
||||||
|
|
||||||
execute "openssl rand 48 > /etc/letsencrypt/live/#{node['grafana']['FQDN']}/ticket.key"
|
|
Loading…
Reference in New Issue