capistrano-ext-projectdx 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,17 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
namespace :deploy do
|
3
3
|
desc "update selinux context"
|
4
4
|
task :selinux do
|
5
|
-
run
|
5
|
+
run %Q{if [ -d #{release_path} ]; then
|
6
6
|
chcon -R -t httpd_sys_content_t #{release_path} ;
|
7
7
|
fi;
|
8
8
|
if [ -d #{current_path}/ ]; then
|
9
9
|
chcon -R -t httpd_sys_content_t #{current_path}/;
|
10
|
-
|
10
|
+
fi;
|
11
|
+
if [ -d #{shared_path}/bundle ]; then
|
12
|
+
find #{shared_path}/bundle -type f -a -iname '*.so' -print0 | \
|
13
|
+
xargs -0 chcon -r object_r -t lib_t ;
|
14
|
+
fi
|
15
|
+
}
|
11
16
|
end
|
12
17
|
|
13
18
|
desc "install database.yml, and other things "
|
@@ -68,4 +73,4 @@ Capistrano::Configuration.instance.load do
|
|
68
73
|
end
|
69
74
|
end
|
70
75
|
end #namespace deploy
|
71
|
-
end
|
76
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-ext-projectdx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Darrell Fuhriman
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-05-06 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|