opskeleton 0.4.7 → 0.4.8

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: 6a3103abb2babcf700c3c58e85a2834424e256c2
4
- data.tar.gz: 0db0b9f223358e7a658d14a333ea6ece8a557b74
3
+ metadata.gz: 89f3f9264b9c40c2efa8c3515abb7b61dde9a349
4
+ data.tar.gz: 4eaef8748fc5c7f1438a411341ac71d78191d059
5
5
  SHA512:
6
- metadata.gz: ab2241dbf15147a3c7a64d7ed98c14e8ea63be23ecfc74b2caaddda89541cdb7c199185390c0bbf41cc15e16636bf5bc539ea1d3be1dd73490993e9da2362eec
7
- data.tar.gz: bfabda81c608ba5c1bca8c634a182f51dc01aafbf9afdccd143467031794aa6834f3ff89c81afb2bd980d56ba512a8bbe3adc9e4e264054b4e8ad3552d7d6c3a
6
+ metadata.gz: 60cc93e8b0e2cfafe0e7a0b1981a105892d9fbfdd8b66622a0075349e71f9d6e64536745ad5ebefd5cfac2ad210b79ba35957943678439f6f24dd5bb42733c3f
7
+ data.tar.gz: 09b8fade8cf725ff26c967c8c4d0733e4b825ef67c99ec6588282ef278ae59a189b0f1fd9eb727be5994b6006ebfc475885fe6de0ffbf79834a4ea62f0ef7b17
data/Gemfile.lock CHANGED
@@ -1,43 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opskeleton (0.4.6)
4
+ opskeleton (0.4.7)
5
5
  bintray_deploy
6
6
  thor
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
+ CFPropertyList (2.2.7)
11
12
  bintray_deploy (0.0.4)
12
13
  configuration
13
14
  rest-client
14
15
  thor
15
16
  coderay (1.1.0)
16
- configuration (1.3.2)
17
+ configuration (1.3.4)
17
18
  diff-lcs (1.2.5)
18
- facter (1.7.4)
19
- hiera (1.3.1)
19
+ facter (2.0.1)
20
+ CFPropertyList (~> 2.2.6)
21
+ hiera (1.3.2)
20
22
  json_pure
21
23
  json_pure (1.8.1)
22
- metaclass (0.0.2)
24
+ metaclass (0.0.4)
23
25
  method_source (0.8.2)
24
- mime-types (2.1)
26
+ mime-types (2.2)
25
27
  mocha (1.0.0)
26
28
  metaclass (~> 0.0.1)
27
- pry (0.9.12.4)
29
+ pry (0.9.12.6)
28
30
  coderay (~> 1.0)
29
31
  method_source (~> 0.8)
30
32
  slop (~> 3.4)
31
- puppet (3.4.2)
32
- facter (~> 1.6)
33
+ puppet (3.5.1)
34
+ facter (> 1.6, < 3)
33
35
  hiera (~> 1.0)
36
+ json_pure
34
37
  rgen (~> 0.6.5)
35
38
  puppetlabs_spec_helper (0.4.1)
36
39
  mocha (>= 0.10.5)
37
40
  rake
38
41
  rspec (>= 2.9.0)
39
42
  rspec-puppet (>= 0.1.1)
40
- rake (10.1.1)
43
+ rake (10.3.1)
41
44
  rest-client (1.6.7)
42
45
  mime-types (>= 1.16)
43
46
  rgen (0.6.6)
@@ -45,14 +48,14 @@ GEM
45
48
  rspec-core (~> 2.14.0)
46
49
  rspec-expectations (~> 2.14.0)
47
50
  rspec-mocks (~> 2.14.0)
48
- rspec-core (2.14.7)
49
- rspec-expectations (2.14.4)
51
+ rspec-core (2.14.8)
52
+ rspec-expectations (2.14.5)
50
53
  diff-lcs (>= 1.1.3, < 2.0)
51
- rspec-mocks (2.14.4)
54
+ rspec-mocks (2.14.6)
52
55
  rspec-puppet (1.0.1)
53
56
  rspec
54
- slop (3.4.7)
55
- thor (0.18.1)
57
+ slop (3.5.0)
58
+ thor (0.19.1)
56
59
 
57
60
  PLATFORMS
58
61
  ruby
data/README.md CHANGED
@@ -154,6 +154,27 @@ Opskeleton generates a Vagrant file with couple of enhancements:
154
154
  * PUPPET_ENV (default dev) for setting puppet environment.
155
155
  * Puppet options preset to match modules and hiera folders.
156
156
 
157
+ ## Boxes
158
+ Opskeleton recommends the use of [box-cutter](https://github.com/box-cutter) in order to create Vagrant boxes in a consistent manner (as no free hosting solution currently exist):
159
+ ```bash
160
+ # make sure to have latest packer
161
+ $ packer version
162
+ Packer v0.6.0
163
+ $ git clone git@github.com:box-cutter/ubuntu-vm.git
164
+ $ cd ubuntu-vm
165
+ # Edit Makefile.local
166
+ $ cat Makefile.local
167
+ # Makefile.local
168
+ CM := puppet
169
+ CM_VERSION := 3.6.1
170
+ $ make virtualbox/ubuntu1404
171
+ ```
172
+ A useful convention for Box names:
173
+
174
+ ```bash
175
+ ubuntu-14.04_puppet-3.6.1 ([os]-[version]_[provisioner]-[version])
176
+ ```
177
+
157
178
  # Copyright and license
158
179
 
159
180
  Copyright [2013] [Ronen Narkis]
@@ -1,3 +1,3 @@
1
1
  module Opskeleton
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.8'
3
3
  end
@@ -1,8 +1,8 @@
1
- forge "http://forge.puppetlabs.com"
1
+ forge 'https://forgeapi.puppetlabs.com'
2
2
 
3
3
  mod 'puppetlabs/stdlib'
4
4
  <% if(box.include?('ubuntu')) %>
5
5
  mod 'puppetlabs/apt'
6
6
  <% end %>
7
- mod 'editfile',
7
+ mod 'mstrauss/editfile',
8
8
  :git => 'git://github.com/mstrauss/puppet-editfile.git'
@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
19
19
  config.vm.provision :puppet do |puppet|
20
20
  puppet.manifests_path = 'manifests'
21
21
  puppet.manifest_file = 'default.pp'
22
- puppet.options = '--modulepath=/vagrant/modules:/vagrant/static-modules --hiera_config /vagrant/hiera_vagrant.yaml --environment=#{env}'
22
+ puppet.options = "--modulepath=/vagrant/modules:/vagrant/static-modules --hiera_config /vagrant/hiera_vagrant.yaml --environment=#{env}"
23
23
 
24
24
  end
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opskeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - narkisr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-21 00:00:00.000000000 Z
11
+ date: 2014-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor