Skip to content

Commit 9413a72

Browse files
committed
Updated git checkout path for controller.
1 parent 3ac0199 commit 9413a72

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

chef/cookbooks/deis/attributes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
# server/api
4343
default.deis.controller.dir = '/opt/deis/controller'
44-
default.deis.controller.repository = 'git@github.com:opdemand/deis-controller.git'
44+
default.deis.controller.repository = 'https://github.com/opdemand/deis.git'
4545
default.deis.controller.secret_key = 'atotallysecretkey9876543210!'
4646
default.deis.controller.debug = 'False'
4747
default.deis.controller.workers = 4
@@ -51,4 +51,4 @@
5151

5252
# client
5353
default.deis.client.dir = '/opt/deis/client'
54-
default.deis.client.repository = 'git@github.com:opdemand/deis-cli.git'
54+
default.deis.client.repository = 'https://github.com/opdemand/deis.git'

chef/cookbooks/deis/recipes/server.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828

2929
# write out local settings for db access, etc.
3030

31-
template "#{controller_dir}/deis/local_settings.py" do
31+
template "#{controller_dir}/controller/deis/local_settings.py" do
3232
user username
3333
group group
3434
mode 0644
3535
source 'local_settings.py.erb'
36-
variables :debug => node.deis.controller.debug,
36+
variables :debug => node.deis.controller.debug,
3737
:secret_key => node.deis.controller.secret_key,
3838
:db_name => node.deis.database.name,
3939
:db_user => node.deis.database.user
@@ -51,7 +51,7 @@
5151
code "virtualenv --distribute venv"
5252
creates "#{controller_dir}/venv"
5353
action :nothing
54-
subscribes :run, "git[#{controller_dir}]", :immediately
54+
subscribes :run, "git[#{controller_dir}]", :immediately
5555
end
5656

5757
bash 'deis-controller-pip-install' do
@@ -60,7 +60,7 @@
6060
cwd controller_dir
6161
code "source venv/bin/activate && pip install -r requirements.txt"
6262
action :nothing
63-
subscribes :run, "git[#{controller_dir}]", :immediately
63+
subscribes :run, "git[#{controller_dir}]", :immediately
6464
end
6565

6666
# NOTE: collectstatic and other subcommands must be run after local_settings
@@ -71,7 +71,7 @@
7171
cwd controller_dir
7272
code "source venv/bin/activate && ./manage.py collectstatic --noinput"
7373
action :nothing
74-
subscribes :run, "git[#{controller_dir}]", :immediately
74+
subscribes :run, "git[#{controller_dir}]", :immediately
7575
end
7676

7777
# write out upstart daemon
@@ -100,7 +100,7 @@
100100
mode 0644
101101
source 'deis-worker.conf.erb'
102102
variables :home => node.deis.controller.dir
103-
notifies :restart, "service[deis-worker]", :delayed
103+
notifies :restart, "service[deis-worker]", :delayed
104104
end
105105

106106
service 'deis-worker' do

0 commit comments

Comments
 (0)