engineyard-serverside 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDAwOTlhMDNiZmE4MzNmODlkNTdiNGYzY2QzNjRjNTg2MmM2NWQyZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTFkOGNhYjMxNGYxYTkyNjdhMWE2ZmZmYTRkMDNmMmU4MThiNmRmNw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2M3YjY5ZmRjMDJmZTUzMWRkNzgxZTRiYWYwOGFlOWExOWY2MDY5M2ZkOTE2
|
10
|
+
ODkxNjdhZTc3MzdlNDQxOWQyNTBhNzQzNGQyNTM2ZjRmNzI3NDY4NzYxNjRj
|
11
|
+
YzRkZmZhMjE1NGJjYzUxMmQ2NzJlNzBiYjU3NDgzNzQyOTJjZmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGViZjQ4NjIyZGE4ODFmMTA3ZDRjMTg4YWRjZGVjMjI1ZGU4MDNlMTU4MDVm
|
14
|
+
ZjI1ZmRlMTdhYTU2MWI2YjI5ZjJhY2I3Njk3NGJmMDUxYWU1ZWY2MTgwMzk0
|
15
|
+
NmZlNzJiMmU2MjlmNzQyYWY5OTIyYmNlYzJhNTUzY2E5ZTUxNGI=
|
@@ -117,13 +117,14 @@ module EY
|
|
117
117
|
init_and_propagate(integrate_options, 'integrate') do |servers, config, shell|
|
118
118
|
|
119
119
|
# We have to rsync the entire app dir, so we need all the permissions to be correct!
|
120
|
-
chown_command =
|
120
|
+
chown_command = %|find #{app_dir} \\( -not -user #{config.user} -or -not -group #{config.group} \\) -exec chown -h #{config.user}:#{config.group} "{}" +|
|
121
121
|
shell.logged_system("sudo sh -l -c '#{chown_command}'", servers.detect {|s| s.local?})
|
122
122
|
|
123
123
|
servers.run_for_each! do |server|
|
124
|
+
chown = server.command_on_server('sudo sh -l -c', chown_command)
|
124
125
|
sync = server.sync_directory_command(app_dir)
|
125
126
|
clean = server.command_on_server('sh -l -c', "rm -rf #{current_app_dir}")
|
126
|
-
"(#{sync}) && (#{clean})"
|
127
|
+
"(#{chown}) && (#{sync}) && (#{clean})"
|
127
128
|
end
|
128
129
|
|
129
130
|
# deploy local-ref to other instances into /data/$app/local-current
|
@@ -363,7 +363,7 @@ YML
|
|
363
363
|
end
|
364
364
|
|
365
365
|
def ensure_ownership(*targets)
|
366
|
-
sudo
|
366
|
+
sudo %|find #{targets.join(' ')} \\( -not -user #{config.user} -or -not -group #{config.group} \\) -exec chown #{config.user}:#{config.group} "{}" +|
|
367
367
|
end
|
368
368
|
|
369
369
|
# Move a symlink as atomically as we can.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EY Cloud Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|