Skip to content

Commit ec533a3

Browse files
committed
Moved everything from techtalks.io to tlks.io
1 parent ae2c16d commit ec533a3

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# chef
2-
Chef solo configuration for techtalks.io
2+
Chef solo configuration for tlks.io
33

cookbooks/op/recipes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package 'supervisor'
66

77
# --- Set host name ---
8-
hostname = 'vps129914.ovh.net'
8+
hostname = 'tlks.io'
99

1010
file '/etc/hostname' do
1111
content "#{hostname}\n"
@@ -15,7 +15,7 @@
1515
content "127.0.0.1 localhost #{hostname}\n"
1616
end
1717

18-
directory "/opt/techtalks.io" do
18+
directory "/opt/tlks.io" do
1919
owner 'root'
2020
group 'root'
2121
mode '0755'

cookbooks/op/recipes/nodejs.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
user "root"
33
cwd "/tmp"
44
code <<-EOH
5-
wget http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-x64.tar.gz
6-
cd /usr/local && tar --strip-components 1 -xzf /tmp/node-v0.10.35-linux-x64.tar.gz
5+
wget http://nodejs.org/dist/v0.10.35/node-v0.12.00-linux-x64.tar.gz
6+
cd /usr/local && tar --strip-components 1 -xzf /tmp/node-v0.12.00-linux-x64.tar.gz
77
EOH
88
end

cookbooks/techtalks/files/default/techtalks-front.conf

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[program:techtalks-front]
2+
directory=/opt/tlks.io/front/
3+
command=sudo node ./index.js
4+
autostart=true
5+
autorestart=true
6+
stderr_logfile=/var/log/tlks.io/front.err.log
7+
stdout_logfile=/var/log/tlks.io/front.out.log

cookbooks/techtalks/recipes/front.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
git "/opt/techtalks.io/front" do
2-
repository "https://github.com/techtalksio/front.git"
1+
git "/opt/tlks.io/front" do
2+
repository "https://github.com/tlksio/front.git"
33
revision "develop"
44
action :sync
55
end
66

7-
cookbook_file '/etc/supervisor/conf.d/techtalks-front.conf' do
8-
name "techtalks-front.conf"
7+
cookbook_file '/etc/supervisor/conf.d/tlks-front.conf' do
8+
name "tlks-front.conf"
99
mode '0755'
1010
owner 'root'
1111
group 'root'
1212
end
1313

14-
directory "/var/log/techtalks" do
14+
directory "/var/log/tlks.io" do
1515
owner 'root'
1616
group 'root'
1717
mode '0755'
1818
action :create
1919
end
2020

2121
bash "front" do
22-
cwd "/opt/techtalks.io/front"
22+
cwd "/opt/tlks.io/front"
2323
code <<-EOH
2424
npm install
2525
EOH

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Usage: ./deploy.sh [host]
44

5-
host="${1:-raul@vps129914.ovh.net}"
5+
host="${1:-raul@tlks.io}"
66

77
# The host key might change when we instantiate a new VM, so
88
# we remove (-R) the old host key from known_hosts

0 commit comments

Comments
 (0)