serverkit 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +20 -0
- data/lib/serverkit/actions/apply.rb +1 -1
- data/lib/serverkit/actions/check.rb +1 -1
- data/lib/serverkit/resources/base.rb +1 -1
- data/lib/serverkit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4639eadceae553f5e22ca18831fc011062757c0e
|
4
|
+
data.tar.gz: 5325205604fde39bc1464fc43f8386e0a1b0443b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc6227a370ef1fb976920e8c3c3f5d3a72a6aeff5700a4568b0a7f03cef5fe1b0183da9bdb9c4634bf373982f0e4b011d0d670d2fe3a15ebd654db374b6d1c8c
|
7
|
+
data.tar.gz: 45214bdbfadb0bafa3e8eaaf69ab67029137f592e772f9ef5a7b1aa9035e6b1b2c7a6cf83df4b870bcdc23de4815da0f16fafdbaa80acee0a8bd2f9063ae1055
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -16,6 +16,7 @@ Configuration management toolkit for IT automation.
|
|
16
16
|
- [Example](#example-1)
|
17
17
|
- [Handler](#handler)
|
18
18
|
- [Plug-in](#plug-in)
|
19
|
+
- [Vagrant](#vagrant)
|
19
20
|
|
20
21
|
## Usage
|
21
22
|
Write a recipe, then run `serverkit` executable to validate, inspect, check, and apply the recipe.
|
@@ -232,3 +233,22 @@ gem "serverkit-defaults"
|
|
232
233
|
gem "serverkit-karabiner"
|
233
234
|
gem "serverkit-rbenv"
|
234
235
|
```
|
236
|
+
|
237
|
+
## Vagrant
|
238
|
+
[vagrant-serverkit](https://github.com/r7kamura/vagrant-serverkit)
|
239
|
+
helps you provision your vagrant box with serverkit.
|
240
|
+
|
241
|
+
```rb
|
242
|
+
# Vagrantfile
|
243
|
+
Vagrant.configure("2") do |config|
|
244
|
+
config.vm.box = "ubuntu/trusty64"
|
245
|
+
config.vm.provision :serverkit do |serverkit_config|
|
246
|
+
serverkit_config.recipe_path = "recipe.yml"
|
247
|
+
end
|
248
|
+
end
|
249
|
+
```
|
250
|
+
|
251
|
+
```
|
252
|
+
$ vagrant plugin install vagrant-serverkit
|
253
|
+
$ vagrant up
|
254
|
+
```
|
@@ -106,7 +106,7 @@ module Serverkit
|
|
106
106
|
|
107
107
|
# @return [Array<Serverkit::Errors::AttributeValidationError>]
|
108
108
|
def attribute_validation_errors
|
109
|
-
|
109
|
+
valid?
|
110
110
|
errors.map do |attribute_name, message|
|
111
111
|
Serverkit::Errors::AttributeValidationError.new(self, attribute_name, message)
|
112
112
|
end
|
data/lib/serverkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|