capistrano-atlas 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/atlas/version.rb +1 -1
- data/lib/capistrano/tasks/aptitude.rake +8 -0
- data/lib/capistrano/tasks/defaults.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e28563de84ce8e0dd512f5afd7ef184a900062a0
|
4
|
+
data.tar.gz: ae9cb829cc6e4a17cb2e05197bebea1910965001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6238a118354c485e09aa165299c8ab8c7d2a89d0c1d05d36da2489439c1443ca7b10cc5aaad8c879e7568c1a4c8cc92900b9114e55a7b6e422f067a2c634b47
|
7
|
+
data.tar.gz: db015623266443404f0bbc959695723851fc4b30a2055242a10bd06c9dfcb2aab7f781054cab3e25ed36cb25b1e6d97fc9bfd2a6deb0fe08a244b60903b6eec5
|
@@ -3,6 +3,7 @@ atlas_recipe :aptitude do
|
|
3
3
|
before "provision:14_04", "atlas:aptitude:install_software_properties"
|
4
4
|
before "provision:14_04", "atlas:aptitude:install_postgres_repo"
|
5
5
|
before "provision:14_04", "atlas:aptitude:change_postgres_packages"
|
6
|
+
before "provision:14_04", "atlas:aptitude:install_nodejs_repo"
|
6
7
|
end
|
7
8
|
|
8
9
|
namespace :atlas do
|
@@ -46,6 +47,13 @@ namespace :atlas do
|
|
46
47
|
end
|
47
48
|
end
|
48
49
|
|
50
|
+
desc "Add the official latest NodeJS repo"
|
51
|
+
task :install_nodejs_repo do
|
52
|
+
privileged_on roles(:all) do |host|
|
53
|
+
execute("curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -")
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
49
57
|
desc "Change 12.04 PostgreSQL package requirements to 14.04 versions"
|
50
58
|
task :change_postgres_packages do
|
51
59
|
packages = fetch(:atlas_aptitude_packages, {})
|
@@ -34,7 +34,7 @@ namespace :load do
|
|
34
34
|
"libxml2-dev" => :all,
|
35
35
|
"libxslt1-dev" => :all,
|
36
36
|
"nginx@ppa:nginx/stable" => :web,
|
37
|
-
"nodejs
|
37
|
+
"nodejs" => :web,
|
38
38
|
"ntp" => :all,
|
39
39
|
"postgresql-client@ppa:pitti/postgresql" => :all,
|
40
40
|
"postgresql@ppa:pitti/postgresql" => :db,
|