vagrant-itamae-local 0.1.14 → 0.1.15
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 +4 -4
- data/README.md +17 -31
- data/lib/vagrant/itamae/local/version.rb +1 -1
- metadata +1 -3
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c26005fcf6d17376c6114036c158416d52e8084
|
4
|
+
data.tar.gz: 6c36ea91ab24dc5f70178e2095fb77be58ac0952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3669f4f93c5529f80e853635865a62849418f0ff3b9e0e5943f4430a097bb42af0c7b5debb3013edbef745d986dbcb9f08df05b7dc282c0284475bab300137e2
|
7
|
+
data.tar.gz: 79a800678b9fc3744ab8d38de9718784ae45e7eaed3fb616d6f6e6ff5aee25976616072eeb84ecfdaadd561631f400a6ad590407466ab94f41bacf3bdd07dc23
|
data/README.md
CHANGED
@@ -1,41 +1,27 @@
|
|
1
1
|
# Vagrant::Itamae::Local
|
2
2
|
|
3
|
-
|
3
|
+
vagrant-itamae-local is extended [vagrant-itamae](https://github.com/chiastolite/vagrant-itamae) plugin
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
5
|
+
## Example
|
10
6
|
|
7
|
+
If you've written recipes for host machine. follows
|
11
8
|
```ruby
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install vagrant-itamae-local
|
22
|
-
|
23
|
-
## Usage
|
9
|
+
Vagrant.configure('2') do |config|
|
10
|
+
config.vm.box = "ubuntu/trusty64"
|
24
11
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vagrant-itamae-local. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
12
|
+
config.vm.provision :itamae do |config|
|
13
|
+
config.sudo = true
|
14
|
+
# recipes for localhost
|
15
|
+
config.recipes = ['./local_recipes.rb']
|
36
16
|
|
17
|
+
config.backend = 'local' # default is ssh
|
18
|
+
end
|
19
|
+
end
|
20
|
+
```
|
37
21
|
|
38
|
-
##
|
22
|
+
## Installation
|
39
23
|
|
40
|
-
|
24
|
+
```ruby
|
25
|
+
vagrant plugin install vagrant-itamae-local
|
26
|
+
```
|
41
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-itamae-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kakikubo teruo
|
@@ -81,8 +81,6 @@ files:
|
|
81
81
|
- LICENSE.txt
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
|
-
- bin/console
|
85
|
-
- bin/setup
|
86
84
|
- lib/vagrant/itamae/local.rb
|
87
85
|
- lib/vagrant/itamae/local/config.rb
|
88
86
|
- lib/vagrant/itamae/local/plugin.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "vagrant/itamae/local"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|