vagrant-niftycloud 0.1.0 → 0.1.3

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.
data/CHANGELOG.md CHANGED
@@ -1 +1,6 @@
1
- * Initial release.
1
+ # 0.1.3 (July 24, 2013)
2
+
3
+ * access_key_id、secret_access_keyがVagrantfileで指定されていない場合に取得する環境変数名が間違っていた
4
+
5
+ # 0.1.0 (July 22, 2013)
6
+ * Initial release.
data/README.md CHANGED
@@ -49,6 +49,7 @@ Vagrant自体の仕様により、以下の制約があります。
49
49
  上記条件をクリアしたサーバイメージをプライベートイメージ等で用意する必要があります。
50
50
 
51
51
  OSイメージ作成の手順は以下のようになります。
52
+
52
53
  chef-soloやchef-clientを予めインストールしておくかどうかはケースバイケースです。
53
54
 
54
55
  vagrant up時に[vagrant-omnibus](https://github.com/schisamo/vagrant-omnibus)を使うという手もあります。
@@ -67,9 +68,9 @@ $ mv id_rsa.pub authorized_keys(id_rsaをローカルに保存する=接続す
67
68
 
68
69
  ## rootで実行
69
70
  # visudo
70
- # Defaults specificationをコメントアウト
71
+ Defaults requirettyをコメントアウト
71
72
  ## 最終行に以下を追加
72
- # vagrant ALL=(ALL) NOPASSWD: ALL
73
+ vagrant ALL=(ALL) NOPASSWD: ALL
73
74
 
74
75
  ## chef-soloやchef-clientをインストールしておく場合
75
76
  # curl -L https://www.opscode.com/chef/install.sh | sudo bash
@@ -150,9 +151,11 @@ SSH接続やcookbook等を使ったサーバのprovisioningに失敗する場合
150
151
 
151
152
  こちらのディレクトリにはboxの作成方法についてのドキュメントも置いてあります。
152
153
 
153
- boxフォーマットには`metadata.json`が必要です。
154
+ boxフォーマットは`metadata.json`と`Vagrantfile`をtar.gzで圧縮したものです。
155
+
156
+ VirtualBoxやVMWare Fusion向けの数GBあるboxと比較すると遙かに軽量で、デフォルト設定を記述する場所という位置付けとなっています。
154
157
 
155
- このjsonファイル中に指定された値は`Vagrantfile` と同様に、providerとしてniftycloudを指定した場合のデフォルト値として扱われます。
158
+ `Vagrantfile` で指定された項目・値はproviderとしてniftycloudを指定した場合のデフォルト値として扱わるため、複数メンバーで作業する場合等はオリジナルのboxを作成しておくと便利です。
156
159
 
157
160
 
158
161
  ## 設定
@@ -140,8 +140,8 @@ module VagrantPlugins
140
140
  def finalize!
141
141
  # Try to get access keys from standard NiftyCloud environment variables; they
142
142
  # will default to nil if the environment variables are not present.
143
- @access_key_id = ENV['NIFTY_ACCESS_KEY'] if @access_key_id == UNSET_VALUE
144
- @secret_access_key = ENV['NIFTY_SECRET_KEY'] if @secret_access_key == UNSET_VALUE
143
+ @access_key_id = ENV['NIFTY_CLOUD_ACCESS_KEY'] if @access_key_id == UNSET_VALUE
144
+ @secret_access_key = ENV['NIFTY_CLOUD_SECRET_KEY'] if @secret_access_key == UNSET_VALUE
145
145
 
146
146
  @instance_id = nil if @instance_id == UNSET_VALUE
147
147
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module NiftyCloud
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-niftycloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-22 00:00:00.000000000 Z
12
+ date: 2013-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: -273229777575097773
148
+ hash: -904776018718840913
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: