daddy 0.7.1 → 0.7.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acfe7a475c4513963432eab97a6c829a1e16b49afbb7055a24c5cff2f8a96403
4
- data.tar.gz: 267d01e688b0dafcc61eaca0bd6fbd3b3461e7f3be685f7ccddcee4764de2205
3
+ metadata.gz: dd3102a8b6e08e245df64188754a6337a63185a3d381962b935987f815de1976
4
+ data.tar.gz: d65a8c0dc2ff0055ca400b314bcf32a7cf3cdbac55f934d9c08cebe7e066c5b9
5
5
  SHA512:
6
- metadata.gz: 95fffe3f79bb961157657f4d24e5210418dcf90e269b94b59f50bc23201a052a7886e6fc5b1b64bd326a44f1f0016fd05c05ed41c61e2ae4bbc1e1f9d1ddbb48
7
- data.tar.gz: aa812b551d89005d333e89faa6207caaa237545ee8c84be1c470946d1a6998c2f7d646c4365f2f46cf70a5d63a7f493d89e8b2da5f34cc13c037d971c0658e0e
6
+ metadata.gz: 62f31c2be1714851eb95f9d26f821fb01a381731de9cdba7fa64917e3212057c9ce189f5f075272a87ae75fd39c479fc80d7f042b7af2fd2b074b9bf79c132c8
7
+ data.tar.gz: bea036994fe6c9d596d3a256226e8a22b56df4055f1214f738e4ecaa1211200201a9bc212c3c49b2399484f654f09ddbb970f09806c3eceb49f2473e385cdb2e
@@ -2,7 +2,7 @@ module Daddy
2
2
  VERSION = [
3
3
  VERSION_MAJOR = '0',
4
4
  VERSION_MINOR = '7',
5
- VERSION_REVISION = '1'
5
+ VERSION_REVISION = '2'
6
6
  ].join('.')
7
7
 
8
8
  CHROME_DRIVER_VERSION = [
@@ -9,12 +9,19 @@ task :dad do
9
9
  end
10
10
  end
11
11
 
12
+ rails_dependencies = %w[ environment ]
13
+ unless defined?(Rails)
14
+ rails_dependencies.each do |t|
15
+ task t.to_sym do; end
16
+ end
17
+ end
18
+
12
19
  namespace :dad do
13
- Dir.glob('config/itamae/roles/*.rb').map{|path| File.basename(path, '.rb') }.each do |role|
20
+ namespace :setup do
14
21
 
15
- namespace role do
22
+ Dir.glob('config/itamae/roles/*.rb').map{|path| File.basename(path, '.rb') }.each do |role|
16
23
  desc "ロール #{role} のセットアップを行います。"
17
- task :setup do
24
+ task role => :environment do
18
25
  role_file = "config/itamae/roles/#{role}.rb"
19
26
  fail unless system("bundle exec itamae local --ohai #{role_file}")
20
27
  end
@@ -11,8 +11,6 @@ en:
11
11
  install: install Jenkins plugins
12
12
  letsencrypt:
13
13
  install: install Let's Eencrypt certbot
14
- memcached:
15
- install: install mecached
16
14
  nginx:
17
15
  config:
18
16
  gitbucket: setting GitBucket as reverse proxy
@@ -21,8 +19,6 @@ en:
21
19
  install: install Nginx
22
20
  obs_studio:
23
21
  install: install OBS-Studio
24
- redis:
25
- install: install Redis
26
22
  sbt:
27
23
  install: install sbt
28
24
  trac:
@@ -11,8 +11,6 @@ ja:
11
11
  install: Jenkinsプラグインをインストールします
12
12
  letsencrypt:
13
13
  install: Let's Eencrypt の certbot をインストールします
14
- memcached:
15
- install: memcachedをインストールします
16
14
  nginx:
17
15
  config:
18
16
  gitbucket: NginxにGitBucketのリバースプロキシを設定します
@@ -21,8 +19,6 @@ ja:
21
19
  install: Nginxをインストールします
22
20
  obs_studio:
23
21
  install: OBS-Studioをインストールします
24
- redis:
25
- install: Redisをインストールします
26
22
  sbt:
27
23
  install: sbt をインストールします
28
24
  trac:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
@@ -299,7 +299,6 @@ files:
299
299
  - itamae/cookbooks/jenkins/plugins/install.rb
300
300
  - itamae/cookbooks/kvm/install.rb
301
301
  - itamae/cookbooks/letsencrypt/install.rb
302
- - itamae/cookbooks/memcached/install.rb
303
302
  - itamae/cookbooks/mongodb/install.rb
304
303
  - itamae/cookbooks/netdata/install.rb
305
304
  - itamae/cookbooks/netdata/netdata-installer.sh
@@ -319,7 +318,6 @@ files:
319
318
  - itamae/cookbooks/phantomjs/install.rb
320
319
  - itamae/cookbooks/python/Python-3.6.3_sha256sum.txt
321
320
  - itamae/cookbooks/python/install.rb
322
- - itamae/cookbooks/redis/install.rb
323
321
  - itamae/cookbooks/sbt/install.rb
324
322
  - itamae/cookbooks/selenium/chromedriver.rb
325
323
  - itamae/cookbooks/selenium/chromedriver_linux64-2.35_sha256sum.txt
@@ -438,14 +436,12 @@ files:
438
436
  - lib/tasks/letsencrypt.rake
439
437
  - lib/tasks/locale/en.yml
440
438
  - lib/tasks/locale/ja.yml
441
- - lib/tasks/memcached.rake
442
439
  - lib/tasks/netdata.rake
443
440
  - lib/tasks/nginx.rake
444
441
  - lib/tasks/obs_studio.rake
445
442
  - lib/tasks/phantomjs.rake
446
443
  - lib/tasks/publish.rake
447
444
  - lib/tasks/rails_erd.rake
448
- - lib/tasks/redis.rake
449
445
  - lib/tasks/resque.rake
450
446
  - lib/tasks/resque/app.god.erb
451
447
  - lib/tasks/resque/install.sh.erb
@@ -1,10 +0,0 @@
1
- require 'daddy/itamae'
2
-
3
- package 'memcached' do
4
- user 'root'
5
- end
6
-
7
- service 'memcached' do
8
- user 'root'
9
- action [:enable, :start]
10
- end
@@ -1,10 +0,0 @@
1
- require 'daddy/itamae'
2
-
3
- package 'redis' do
4
- user 'root'
5
- end
6
-
7
- service 'redis' do
8
- user 'root'
9
- action [:enable, :start]
10
- end
@@ -1,12 +0,0 @@
1
- require_relative 'task_helper'
2
-
3
- namespace :dad do
4
- namespace :memcached do
5
-
6
- desc I18n.t('memcached.install')
7
- task :install do
8
- run_itamae 'memcached/install'
9
- end
10
-
11
- end
12
- end
@@ -1,12 +0,0 @@
1
- require 'rake'
2
-
3
- namespace :dad do
4
- namespace :redis do
5
-
6
- desc I18n.t('redis.install')
7
- task :install do
8
- run_itamae 'redis/install'
9
- end
10
-
11
- end
12
- end