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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7e57fccd86450947d54b621d140b58c990424c7
4
- data.tar.gz: 7d332e4b338d33dce328b8fc1c3c4f5e11ce105a
3
+ metadata.gz: e28563de84ce8e0dd512f5afd7ef184a900062a0
4
+ data.tar.gz: ae9cb829cc6e4a17cb2e05197bebea1910965001
5
5
  SHA512:
6
- metadata.gz: 93e75f9cbf5330c1e21ed0311b16caab281f68efdc5138b9e280ce44082e71183e531ae1d1f79e014f9782968cc7970cfb09c44e6386237e3511c0dce6fc44f9
7
- data.tar.gz: 50f73109d0385fa2dda54fc5a1e119d192d5fb833ef86a92ce083ce9132c3f35a5deb55d49eec44952c534366a67703a31b7963d9b8ed6997b3eed3b28731f8f
6
+ metadata.gz: b6238a118354c485e09aa165299c8ab8c7d2a89d0c1d05d36da2489439c1443ca7b10cc5aaad8c879e7568c1a4c8cc92900b9114e55a7b6e422f067a2c634b47
7
+ data.tar.gz: db015623266443404f0bbc959695723851fc4b30a2055242a10bd06c9dfcb2aab7f781054cab3e25ed36cb25b1e6d97fc9bfd2a6deb0fe08a244b60903b6eec5
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Atlas
3
- VERSION = "0.0.9".freeze
3
+ VERSION = "0.1.0".freeze
4
4
  end
5
5
  end
@@ -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@ppa:chris-lea/node.js" => :all,
37
+ "nodejs" => :web,
38
38
  "ntp" => :all,
39
39
  "postgresql-client@ppa:pitti/postgresql" => :all,
40
40
  "postgresql@ppa:pitti/postgresql" => :db,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-atlas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John McDowall