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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8539f7815d48e002fdd51a12f9c63163c731bfe
4
- data.tar.gz: 49308bf986fedfd59e95861eeaf7955eac16dc4f
3
+ metadata.gz: 5c26005fcf6d17376c6114036c158416d52e8084
4
+ data.tar.gz: 6c36ea91ab24dc5f70178e2095fb77be58ac0952
5
5
  SHA512:
6
- metadata.gz: 29406973c8e2712075098daedc72a29c8493f1e5fac8218030359a11645292aca33601351680809186fa5f25fa73f6eb01b6af6e95848a83597f46c89b16b2cd
7
- data.tar.gz: 40bf7a55fc2728ce764f730227f0489d7b4762cf357bc2a841d4d45ec9c8480356103b6a0df20c9b8dc765e5efa7e77c577d64d06e2a08185f02d2ef7af48a43
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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/vagrant/itamae/local`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ vagrant-itamae-local is extended [vagrant-itamae](https://github.com/chiastolite/vagrant-itamae) plugin
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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
- gem 'vagrant-itamae-local'
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
- TODO: Write usage instructions here
26
-
27
- ## Development
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
- ## License
22
+ ## Installation
39
23
 
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
24
+ ```ruby
25
+ vagrant plugin install vagrant-itamae-local
26
+ ```
41
27
 
@@ -1,7 +1,7 @@
1
1
  module Vagrant
2
2
  module Itamae
3
3
  module Local
4
- VERSION = "0.1.14"
4
+ VERSION = "0.1.15"
5
5
  end
6
6
  end
7
7
  end
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.14
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
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here