File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ Style/BlockDelimiters:
41
41
Enabled : false
42
42
Style/ConditionalAssignment :
43
43
Enabled : false
44
- Style/AlignParameters :
45
- Enabled : false
46
44
Style/IfUnlessModifier :
47
45
Enabled : false
48
46
Style/Lambda :
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ def sudo(*args)
29
29
30
30
def revision_log_message
31
31
fetch ( :revision_log_message ,
32
- t ( :revision_log_message ,
33
- :branch => fetch ( :branch ) ,
34
- :user => local_user ,
35
- :sha => fetch ( :current_revision ) ,
36
- :release => fetch ( :release_timestamp ) )
32
+ t ( :revision_log_message ,
33
+ :branch => fetch ( :branch ) ,
34
+ :user => local_user ,
35
+ :sha => fetch ( :current_revision ) ,
36
+ :release => fetch ( :release_timestamp ) )
37
37
)
38
38
end
39
39
Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ namespace :deploy do
177
177
last_release_path = releases_path . join ( last_release )
178
178
if test "[ `readlink #{ current_path } ` != #{ last_release_path } ]"
179
179
execute :tar , "-czf" ,
180
- deploy_path . join ( "rolled-back-release-#{ last_release } .tar.gz" ) ,
181
- last_release_path
180
+ deploy_path . join ( "rolled-back-release-#{ last_release } .tar.gz" ) ,
181
+ last_release_path
182
182
execute :rm , "-rf" , last_release_path
183
183
else
184
184
debug "Last release is the current release, skip cleanup_rollback."
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
13
13
vagrantkey = open ( "https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub" , "r" , &:read )
14
14
15
15
primary . vm . provision :shell ,
16
- :inline => <<-INLINE
16
+ :inline => <<-INLINE
17
17
install -d -m 700 /root/.ssh
18
18
echo -e "#{ vagrantkey } " > /root/.ssh/authorized_keys
19
19
chmod 0600 /root/.ssh/authorized_keys
You can’t perform that action at this time.
0 commit comments