vagabond 0.2.8 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/CHANGELOG.md +16 -0
  2. data/DEVELOP.md +38 -0
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +33 -0
  5. data/README.md +55 -21
  6. data/USAGE.md +28 -3
  7. data/Vagabondfile.sample +47 -0
  8. data/Vagrantfile +17 -5
  9. data/bin/vagabond +5 -0
  10. data/lib/vagabond/Cheffile +7 -0
  11. data/lib/vagabond/Cheffile.dev +7 -0
  12. data/lib/vagabond/actions/cluster.rb +22 -8
  13. data/lib/vagabond/actions/create.rb +7 -4
  14. data/lib/vagabond/actions/destroy.rb +24 -14
  15. data/lib/vagabond/actions/freeze.rb +1 -0
  16. data/lib/vagabond/actions/init.rb +8 -11
  17. data/lib/vagabond/actions/provision.rb +16 -8
  18. data/lib/vagabond/actions/rebuild.rb +4 -9
  19. data/lib/vagabond/actions/ssh.rb +9 -1
  20. data/lib/vagabond/actions/start.rb +1 -0
  21. data/lib/vagabond/actions/status.rb +1 -0
  22. data/lib/vagabond/actions/thaw.rb +1 -0
  23. data/lib/vagabond/actions/up.rb +22 -7
  24. data/lib/vagabond/bootstraps/chef_10_compat_config.erb +62 -0
  25. data/lib/vagabond/bootstraps/no_lazy_load.erb +63 -0
  26. data/lib/vagabond/bootstraps/server-zero.erb +1 -8
  27. data/lib/vagabond/bootstraps/server.erb +9 -6
  28. data/lib/vagabond/constants.rb +1 -6
  29. data/lib/vagabond/core.rb +209 -0
  30. data/lib/vagabond/errors.rb +3 -0
  31. data/lib/vagabond/helpers.rb +11 -99
  32. data/lib/vagabond/helpers/base.rb +134 -0
  33. data/lib/vagabond/helpers/callbacks.rb +47 -0
  34. data/lib/vagabond/helpers/chains.rb +23 -0
  35. data/lib/vagabond/helpers/commands.rb +49 -0
  36. data/lib/vagabond/helpers/knife.rb +47 -0
  37. data/lib/vagabond/helpers/naming.rb +39 -0
  38. data/lib/vagabond/helpers/server.rb +30 -0
  39. data/lib/vagabond/internal_configuration.rb +186 -32
  40. data/lib/vagabond/kitchen.rb +110 -60
  41. data/lib/vagabond/knife.rb +5 -1
  42. data/lib/vagabond/layout.rb +1 -0
  43. data/lib/vagabond/monkey/kitchen_config.rb +1 -0
  44. data/lib/vagabond/notify_mash.rb +25 -0
  45. data/lib/vagabond/server.rb +81 -49
  46. data/lib/vagabond/settings.rb +17 -0
  47. data/lib/vagabond/spec.rb +125 -99
  48. data/lib/vagabond/uploader.rb +4 -1
  49. data/lib/vagabond/uploader/berkshelf.rb +2 -1
  50. data/lib/vagabond/uploader/knife.rb +3 -9
  51. data/lib/vagabond/uploader/librarian.rb +2 -5
  52. data/lib/vagabond/vagabond.rb +77 -93
  53. data/lib/vagabond/vagabondfile.rb +73 -9
  54. data/lib/vagabond/version.rb +2 -1
  55. data/vagabond.gemspec +7 -5
  56. metadata +58 -81
  57. data/lib/vagabond/cookbooks/apt/Berksfile +0 -8
  58. data/lib/vagabond/cookbooks/apt/CHANGELOG.md +0 -97
  59. data/lib/vagabond/cookbooks/apt/CONTRIBUTING +0 -29
  60. data/lib/vagabond/cookbooks/apt/LICENSE +0 -201
  61. data/lib/vagabond/cookbooks/apt/README.md +0 -243
  62. data/lib/vagabond/cookbooks/apt/TESTING.md +0 -25
  63. data/lib/vagabond/cookbooks/apt/attributes/default.rb +0 -4
  64. data/lib/vagabond/cookbooks/apt/files/default/apt-proxy-v2.conf +0 -50
  65. data/lib/vagabond/cookbooks/apt/metadata.rb +0 -30
  66. data/lib/vagabond/cookbooks/apt/providers/preference.rb +0 -61
  67. data/lib/vagabond/cookbooks/apt/providers/repository.rb +0 -132
  68. data/lib/vagabond/cookbooks/apt/recipes/cacher-client.rb +0 -59
  69. data/lib/vagabond/cookbooks/apt/recipes/cacher-ng.rb +0 -40
  70. data/lib/vagabond/cookbooks/apt/recipes/default.rb +0 -68
  71. data/lib/vagabond/cookbooks/apt/resources/preference.rb +0 -30
  72. data/lib/vagabond/cookbooks/apt/resources/repository.rb +0 -40
  73. data/lib/vagabond/cookbooks/apt/templates/debian-6.0/acng.conf.erb +0 -174
  74. data/lib/vagabond/cookbooks/apt/templates/default/01proxy.erb +0 -2
  75. data/lib/vagabond/cookbooks/apt/templates/default/acng.conf.erb +0 -276
  76. data/lib/vagabond/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +0 -270
  77. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/README.md +0 -1
  78. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/cacher-ng_test.rb +0 -28
  79. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/default_test.rb +0 -28
  80. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/lwrps_test.rb +0 -48
  81. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/support/helpers.rb +0 -29
  82. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/metadata.rb +0 -6
  83. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/cacher-ng.rb +0 -20
  84. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/default.rb +0 -20
  85. data/lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/lwrps.rb +0 -66
  86. data/lib/vagabond/cookbooks/lxc/CHANGELOG.md +0 -37
  87. data/lib/vagabond/cookbooks/lxc/Gemfile +0 -4
  88. data/lib/vagabond/cookbooks/lxc/Gemfile.lock +0 -41
  89. data/lib/vagabond/cookbooks/lxc/README.md +0 -112
  90. data/lib/vagabond/cookbooks/lxc/attributes/default.rb +0 -26
  91. data/lib/vagabond/cookbooks/lxc/files/default/knife_lxc +0 -228
  92. data/lib/vagabond/cookbooks/lxc/files/default/lxc-awesome-ephemeral +0 -499
  93. data/lib/vagabond/cookbooks/lxc/libraries/lxc.rb +0 -477
  94. data/lib/vagabond/cookbooks/lxc/libraries/lxc_expanded_resources.rb +0 -40
  95. data/lib/vagabond/cookbooks/lxc/libraries/lxc_file_config.rb +0 -84
  96. data/lib/vagabond/cookbooks/lxc/libraries/monkey.rb +0 -51
  97. data/lib/vagabond/cookbooks/lxc/metadata.rb +0 -12
  98. data/lib/vagabond/cookbooks/lxc/providers/config.rb +0 -75
  99. data/lib/vagabond/cookbooks/lxc/providers/container.rb +0 -354
  100. data/lib/vagabond/cookbooks/lxc/providers/default.rb +0 -57
  101. data/lib/vagabond/cookbooks/lxc/providers/ephemeral.rb +0 -40
  102. data/lib/vagabond/cookbooks/lxc/providers/fstab.rb +0 -30
  103. data/lib/vagabond/cookbooks/lxc/providers/interface.rb +0 -45
  104. data/lib/vagabond/cookbooks/lxc/providers/service.rb +0 -53
  105. data/lib/vagabond/cookbooks/lxc/recipes/containers.rb +0 -13
  106. data/lib/vagabond/cookbooks/lxc/recipes/default.rb +0 -58
  107. data/lib/vagabond/cookbooks/lxc/recipes/install_dependencies.rb +0 -15
  108. data/lib/vagabond/cookbooks/lxc/recipes/knife.rb +0 -37
  109. data/lib/vagabond/cookbooks/lxc/resources/config.rb +0 -19
  110. data/lib/vagabond/cookbooks/lxc/resources/container.rb +0 -54
  111. data/lib/vagabond/cookbooks/lxc/resources/default.rb +0 -12
  112. data/lib/vagabond/cookbooks/lxc/resources/ephemeral.rb +0 -13
  113. data/lib/vagabond/cookbooks/lxc/resources/fstab.rb +0 -12
  114. data/lib/vagabond/cookbooks/lxc/resources/interface.rb +0 -13
  115. data/lib/vagabond/cookbooks/lxc/resources/service.rb +0 -5
  116. data/lib/vagabond/cookbooks/lxc/templates/default/client.rb.erb +0 -13
  117. data/lib/vagabond/cookbooks/lxc/templates/default/default-lxc.erb +0 -3
  118. data/lib/vagabond/cookbooks/lxc/templates/default/file_content.erb +0 -2
  119. data/lib/vagabond/cookbooks/lxc/templates/default/fstab.erb +0 -5
  120. data/lib/vagabond/cookbooks/lxc/templates/default/interface.erb +0 -27
  121. data/lib/vagabond/cookbooks/vagabond/README.md +0 -10
  122. data/lib/vagabond/cookbooks/vagabond/attributes/default.rb +0 -18
  123. data/lib/vagabond/cookbooks/vagabond/files/default/lxc-centos +0 -460
  124. data/lib/vagabond/cookbooks/vagabond/libraries/vagabond.rb +0 -10
  125. data/lib/vagabond/cookbooks/vagabond/metadata.rb +0 -8
  126. data/lib/vagabond/cookbooks/vagabond/recipes/default.rb +0 -132
  127. data/lib/vagabond/cookbooks/vagabond/recipes/zero.rb +0 -9
  128. data/lib/vagabond/helpers/cheffile_loader.rb +0 -20
  129. data/vagabond-0.2.6.gem +0 -0
@@ -1,20 +1,68 @@
1
+ #encoding: utf-8
1
2
  require 'chef/mash'
3
+ require 'attribute_struct'
2
4
 
3
5
  module Vagabond
4
6
  class Vagabondfile
5
7
 
8
+ class << self
9
+ def describe(&block)
10
+ inst = AttributeStruct.new
11
+ if(block.arity != 1)
12
+ inst.instance_exec(&block)
13
+ else
14
+ inst.instance_exec(inst, &block)
15
+ end
16
+ inst
17
+ end
18
+ end
19
+
6
20
  attr_reader :path
7
21
  attr_reader :config
8
22
 
9
- DEFAULT_KEYS = %w(boxes mappings test_mappings spec_mappings local_chef_server)
10
- ALIASES = Mash.new(:boxes => :nodes, :nodes => :boxes)
11
-
23
+ DEFAULT_KEYS = %w(defaults definitions nodes clusters specs server callbacks)
24
+ ALIASES = Mash.new(
25
+ :boxes => :nodes,
26
+ :nodes => :boxes,
27
+ :local_chef_server => :server,
28
+ :server => :local_chef_server
29
+ )
30
+
12
31
  def initialize(path=nil, *args)
13
32
  path = discover_path(Dir.pwd) unless path
14
33
  @path = path
15
34
  load_configuration!(args.include?(:allow_missing))
16
35
  end
17
36
 
37
+ def callbacks_for(name)
38
+ callbacks = self[:callbacks] || Mash.new
39
+ callbacks = Chef::Mixin::DeepMerge.merge(callbacks, for_node(name, :allow_missing)[:callbacks])
40
+ callbacks
41
+ end
42
+
43
+ def for_node(name, *args)
44
+ unless(self[:nodes][name])
45
+ return Mash.new if args.include?(:allow_missing)
46
+ raise VagabondError::InvalidName.new("Requested name is not a valid node name: #{name}")
47
+ end
48
+ if(self[:nodes][name][:definition])
49
+ base = for_definition(self[:nodes][name][:definition])
50
+ else
51
+ base = self[:defaults]
52
+ end
53
+ base = Chef::Mixin::DeepMerge.merge(base, self[:nodes][name])
54
+ base
55
+ end
56
+
57
+ def for_definition(name)
58
+ base = self[:defaults]
59
+ unless(self[:definitions][name])
60
+ raise VagabondError::InvalidName.new("Requested name is not a valid definition name: #{name}")
61
+ end
62
+ base = Chef::Mixin::DeepMerge.merge(base, self[:definitions][name])
63
+ base
64
+ end
65
+
18
66
  def [](k)
19
67
  if(DEFAULT_KEYS.include?(k.to_s))
20
68
  @config[k] ||= Mash.new
@@ -40,7 +88,7 @@ module Vagabond
40
88
  end
41
89
  end
42
90
  end
43
-
91
+
44
92
  def load_configuration!(*args)
45
93
  unless(args.empty?)
46
94
  no_raise = args.first == true
@@ -48,7 +96,12 @@ module Vagabond
48
96
  no_raise ||= force_store
49
97
  end
50
98
  if(@path && File.exists?(@path))
51
- @config = Mash.new(self.instance_eval(IO.read(@path), @path, 1))
99
+ thing = self.instance_eval(IO.read(@path), @path, 1)
100
+ if(thing.is_a?(AttributeStruct))
101
+ @config = Mash.new(thing._dump)
102
+ else
103
+ @config = Mash.new(thing)
104
+ end
52
105
  end
53
106
  if(!@config || force_store)
54
107
  raise 'No Vagabondfile file found!' unless no_raise
@@ -57,11 +110,22 @@ module Vagabond
57
110
  end
58
111
  end
59
112
 
113
+ def build_private_store
114
+ unless(@_private_store_path)
115
+ @_private_store_path = File.join('/tmp/vagabond-solos', directory.gsub(%r{[^0-9a-zA-Z]}, '-'), 'Vagabondfile')
116
+ @_private_store_path = File.expand_path(@_private_store_path.gsub('-', '/'))
117
+ FileUtils.mkdir_p(File.dirname(@_private_store_path))
118
+ File.dirname(@_private_store_path)
119
+ end
120
+ File.dirname(@_private_store_path)
121
+ end
122
+
60
123
  def generate_store_path
61
124
  @path ||= File.expand_path(File.join(Dir.pwd, 'Vagabondfile'))
62
- @store_path = File.join('/tmp/vagabond-solos', directory.gsub(%r{[^0-9a-zA-Z]}, '-'), 'Vagabondfile')
63
- @store_path = File.expand_path(@store_path.gsub('-', '/'))
64
- FileUtils.mkdir_p(File.dirname(@store_path))
125
+ unless(@store_path)
126
+ build_private_store
127
+ @store_path = @_private_store_path
128
+ end
65
129
  File.dirname(@store_path)
66
130
  end
67
131
 
@@ -76,7 +140,7 @@ module Vagabond
76
140
  def store_directory
77
141
  File.dirname(@store_path || @path)
78
142
  end
79
-
143
+
80
144
  def discover_path(path)
81
145
  d_path = Dir.glob(File.join(path, 'Vagabondfile')).first
82
146
  unless(d_path)
@@ -1,3 +1,4 @@
1
+ #encoding: utf-8
1
2
  module Vagabond
2
3
  class Version < Gem::Version
3
4
  attr_reader :codename
@@ -6,5 +7,5 @@ module Vagabond
6
7
  super(v)
7
8
  end
8
9
  end
9
- VERSION = Version.new('0.2.8', 'nomad')
10
+ VERSION = Version.new('0.2.10', 'Hi friend')
10
11
  end
@@ -1,16 +1,16 @@
1
+ #encoding: utf-8
1
2
  $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__)) + '/lib/'
2
3
  require 'vagabond/version'
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = 'vagabond'
6
7
  s.version = Vagabond::VERSION.version
7
- s.summary = 'Vagabond creator'
8
+ s.summary = 'Node building and testing tooling'
8
9
  s.author = 'Chris Roberts'
9
- s.email = 'chrisroberts.code@gmail.com'
10
+ s.email = 'code@chrisroberts.org'
10
11
  s.homepage = 'http://github.com/chrisroberts/vagabond'
11
- s.description = 'Vagabonds, lazing about'
12
+ s.description = 'LXC driven node generation and testing tooling'
12
13
  s.require_path = 'lib'
13
- s.has_rdoc = true
14
14
  s.extra_rdoc_files = ['README.md']
15
15
  s.files = Dir['**/*']
16
16
  s.executables = ['vagabond']
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.add_dependency 'test-kitchen', '>= 1.0.0.alpha'
20
20
  s.add_dependency 'thor'
21
21
  s.add_dependency 'uuidtools'
22
- s.add_dependency 'elecksee', '>= 1.0.6'
22
+ s.add_dependency 'elecksee', '>= 1.0.10'
23
23
  s.add_dependency 'serverspec', '>= 0.6.3'
24
+ s.add_dependency 'attribute_struct'
25
+ s.add_dependency 'knife-bootstrapsync'
24
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagabond
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.10
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-06-27 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: 1.0.6
101
+ version: 1.0.10
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 1.0.6
109
+ version: 1.0.10
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: serverspec
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -123,89 +123,53 @@ dependencies:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: 0.6.3
126
- description: Vagabonds, lazing about
127
- email: chrisroberts.code@gmail.com
126
+ - !ruby/object:Gem::Dependency
127
+ name: attribute_struct
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: knife-bootstrapsync
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ description: LXC driven node generation and testing tooling
159
+ email: code@chrisroberts.org
128
160
  executables:
129
161
  - vagabond
130
162
  extensions: []
131
163
  extra_rdoc_files:
132
164
  - README.md
133
165
  files:
134
- - lib/vagabond/cookbooks/lxc/files/default/lxc-awesome-ephemeral
135
- - lib/vagabond/cookbooks/lxc/files/default/knife_lxc
136
- - lib/vagabond/cookbooks/lxc/metadata.rb
137
- - lib/vagabond/cookbooks/lxc/templates/default/interface.erb
138
- - lib/vagabond/cookbooks/lxc/templates/default/fstab.erb
139
- - lib/vagabond/cookbooks/lxc/templates/default/client.rb.erb
140
- - lib/vagabond/cookbooks/lxc/templates/default/file_content.erb
141
- - lib/vagabond/cookbooks/lxc/templates/default/default-lxc.erb
142
- - lib/vagabond/cookbooks/lxc/Gemfile
143
- - lib/vagabond/cookbooks/lxc/attributes/default.rb
144
- - lib/vagabond/cookbooks/lxc/README.md
145
- - lib/vagabond/cookbooks/lxc/providers/fstab.rb
146
- - lib/vagabond/cookbooks/lxc/providers/default.rb
147
- - lib/vagabond/cookbooks/lxc/providers/interface.rb
148
- - lib/vagabond/cookbooks/lxc/providers/service.rb
149
- - lib/vagabond/cookbooks/lxc/providers/config.rb
150
- - lib/vagabond/cookbooks/lxc/providers/ephemeral.rb
151
- - lib/vagabond/cookbooks/lxc/providers/container.rb
152
- - lib/vagabond/cookbooks/lxc/libraries/monkey.rb
153
- - lib/vagabond/cookbooks/lxc/libraries/lxc_file_config.rb
154
- - lib/vagabond/cookbooks/lxc/libraries/lxc_expanded_resources.rb
155
- - lib/vagabond/cookbooks/lxc/libraries/lxc.rb
156
- - lib/vagabond/cookbooks/lxc/resources/fstab.rb
157
- - lib/vagabond/cookbooks/lxc/resources/default.rb
158
- - lib/vagabond/cookbooks/lxc/resources/interface.rb
159
- - lib/vagabond/cookbooks/lxc/resources/service.rb
160
- - lib/vagabond/cookbooks/lxc/resources/config.rb
161
- - lib/vagabond/cookbooks/lxc/resources/ephemeral.rb
162
- - lib/vagabond/cookbooks/lxc/resources/container.rb
163
- - lib/vagabond/cookbooks/lxc/CHANGELOG.md
164
- - lib/vagabond/cookbooks/lxc/Gemfile.lock
165
- - lib/vagabond/cookbooks/lxc/recipes/default.rb
166
- - lib/vagabond/cookbooks/lxc/recipes/install_dependencies.rb
167
- - lib/vagabond/cookbooks/lxc/recipes/knife.rb
168
- - lib/vagabond/cookbooks/lxc/recipes/containers.rb
169
- - lib/vagabond/cookbooks/vagabond/files/default/lxc-centos
170
- - lib/vagabond/cookbooks/vagabond/metadata.rb
171
- - lib/vagabond/cookbooks/vagabond/attributes/default.rb
172
- - lib/vagabond/cookbooks/vagabond/README.md
173
- - lib/vagabond/cookbooks/vagabond/libraries/vagabond.rb
174
- - lib/vagabond/cookbooks/vagabond/recipes/default.rb
175
- - lib/vagabond/cookbooks/vagabond/recipes/zero.rb
176
- - lib/vagabond/cookbooks/apt/files/default/apt-proxy-v2.conf
177
- - lib/vagabond/cookbooks/apt/metadata.rb
178
- - lib/vagabond/cookbooks/apt/templates/default/01proxy.erb
179
- - lib/vagabond/cookbooks/apt/templates/default/acng.conf.erb
180
- - lib/vagabond/cookbooks/apt/templates/debian-6.0/acng.conf.erb
181
- - lib/vagabond/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb
182
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/cacher-ng_test.rb
183
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/lwrps_test.rb
184
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/default_test.rb
185
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/files/default/tests/minitest/support/helpers.rb
186
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/metadata.rb
187
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/README.md
188
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/default.rb
189
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/cacher-ng.rb
190
- - lib/vagabond/cookbooks/apt/test/cookbooks/apt_test/recipes/lwrps.rb
191
- - lib/vagabond/cookbooks/apt/Berksfile
192
- - lib/vagabond/cookbooks/apt/attributes/default.rb
193
- - lib/vagabond/cookbooks/apt/README.md
194
- - lib/vagabond/cookbooks/apt/LICENSE
195
- - lib/vagabond/cookbooks/apt/CONTRIBUTING
196
- - lib/vagabond/cookbooks/apt/providers/repository.rb
197
- - lib/vagabond/cookbooks/apt/providers/preference.rb
198
- - lib/vagabond/cookbooks/apt/TESTING.md
199
- - lib/vagabond/cookbooks/apt/resources/repository.rb
200
- - lib/vagabond/cookbooks/apt/resources/preference.rb
201
- - lib/vagabond/cookbooks/apt/CHANGELOG.md
202
- - lib/vagabond/cookbooks/apt/recipes/default.rb
203
- - lib/vagabond/cookbooks/apt/recipes/cacher-ng.rb
204
- - lib/vagabond/cookbooks/apt/recipes/cacher-client.rb
205
166
  - lib/vagabond/errors.rb
167
+ - lib/vagabond/Cheffile
206
168
  - lib/vagabond/server.rb
207
169
  - lib/vagabond/kitchen.rb
208
170
  - lib/vagabond/vagabondfile.rb
171
+ - lib/vagabond/bootstraps/chef_10_compat_config.erb
172
+ - lib/vagabond/bootstraps/no_lazy_load.erb
209
173
  - lib/vagabond/bootstraps/server-zero.erb
210
174
  - lib/vagabond/bootstraps/server.erb
211
175
  - lib/vagabond/version.rb
@@ -216,10 +180,19 @@ files:
216
180
  - lib/vagabond/uploader/berkshelf.rb
217
181
  - lib/vagabond/uploader/knife.rb
218
182
  - lib/vagabond/uploader/librarian.rb
183
+ - lib/vagabond/core.rb
219
184
  - lib/vagabond/constants.rb
220
185
  - lib/vagabond/helpers.rb
221
186
  - lib/vagabond/spec.rb
222
- - lib/vagabond/helpers/cheffile_loader.rb
187
+ - lib/vagabond/settings.rb
188
+ - lib/vagabond/helpers/commands.rb
189
+ - lib/vagabond/helpers/callbacks.rb
190
+ - lib/vagabond/helpers/server.rb
191
+ - lib/vagabond/helpers/naming.rb
192
+ - lib/vagabond/helpers/knife.rb
193
+ - lib/vagabond/helpers/chains.rb
194
+ - lib/vagabond/helpers/base.rb
195
+ - lib/vagabond/notify_mash.rb
223
196
  - lib/vagabond/internal_configuration.rb
224
197
  - lib/vagabond/actions/up.rb
225
198
  - lib/vagabond/actions/create.rb
@@ -233,17 +206,21 @@ files:
233
206
  - lib/vagabond/actions/destroy.rb
234
207
  - lib/vagabond/actions/freeze.rb
235
208
  - lib/vagabond/actions/ssh.rb
209
+ - lib/vagabond/Cheffile.dev
236
210
  - lib/vagabond/uploader.rb
237
211
  - lib/vagabond.rb
238
212
  - test/Vagrantfile
239
- - vagabond-0.2.6.gem
213
+ - Gemfile
240
214
  - README.md
241
215
  - LICENSE
242
216
  - vagabond.gemspec
243
217
  - Vagrantfile
244
218
  - bin/vagabond
219
+ - Vagabondfile.sample
245
220
  - USAGE.md
246
221
  - CHANGELOG.md
222
+ - Gemfile.lock
223
+ - DEVELOP.md
247
224
  homepage: http://github.com/chrisroberts/vagabond
248
225
  licenses: []
249
226
  post_install_message:
@@ -267,6 +244,6 @@ rubyforge_project:
267
244
  rubygems_version: 1.8.24
268
245
  signing_key:
269
246
  specification_version: 3
270
- summary: Vagabond creator
247
+ summary: Node building and testing tooling
271
248
  test_files: []
272
- has_rdoc: true
249
+ has_rdoc:
@@ -1,8 +0,0 @@
1
- site :opscode
2
-
3
- metadata
4
-
5
- group :integration do
6
- cookbook "minitest-handler"
7
- cookbook "apt_test", :path => "./test/cookbooks/apt_test"
8
- end
@@ -1,97 +0,0 @@
1
- ## v2.0.0:
2
-
3
- ### Bug
4
-
5
- - [COOK-2258]: apt: LWRP results in error under why-run mode in apt 1.9.0 cookbook
6
-
7
- ## v1.10.0:
8
-
9
- ### Improvement
10
-
11
- - [COOK-2885]: Improvements for apt cache server search
12
-
13
- ### Bug
14
-
15
- - [COOK-2441]: Apt recipe broken in new chef version
16
- - [COOK-2660]: Create Debian 6.0 "squeeze" specific template for
17
- apt-cacher-ng
18
-
19
- ## v1.9.2:
20
-
21
- * [COOK-2631] - Create Ubuntu 10.04 specific template for apt-cacher-ng
22
-
23
- ## v1.9.0:
24
-
25
- * [COOK-2185] - Proxy for apt-key
26
- * [COOK-2338] - Support pinning by glob() or regexp
27
-
28
- ## v1.8.4:
29
-
30
- * [COOK-2171] - Update README to clarify required Chef version: 10.18.0
31
- or higher.
32
-
33
- ## v1.8.2:
34
-
35
- * [COOK-2112] - need [] around "arch" in sources.list entries
36
- * [COOK-2171] - fixes a regression in the notification
37
-
38
- ## v1.8.0:
39
-
40
- * [COOK-2143] - Allow for a custom cacher-ng port
41
- * [COOK-2171] - On `apt_repository.run_action(:add)` the source file
42
- is not created.
43
- * [COOK-2184] - apt::cacher-ng, use `cacher_port` attribute in
44
- acng.conf
45
-
46
- ## v1.7.0:
47
-
48
- * [COOK-2082] - add "arch" parameter to apt_repository LWRP
49
-
50
- ## v1.6.0:
51
-
52
- * [COOK-1893] - `apt_preference` use "`package_name`" resource instead of "name"
53
- * [COOK-1894] - change filename for sources.list.d files
54
- * [COOK-1914] - Wrong dir permissions for /etc/apt/preferences.d/
55
- * [COOK-1942] - README.md has wrong name for the keyserver attribute
56
- * [COOK-2019] - create 01proxy before any other apt-get updates get executed
57
-
58
- ## v1.5.2:
59
-
60
- * [COOK-1682] - use template instead of file resource in apt::cacher-client
61
- * [COOK-1875] - cacher-client should be Environment-aware
62
-
63
- ## V1.5.0:
64
-
65
- * [COOK-1500] - Avoid triggering apt-get update
66
- * [COOK-1548] - Add execute commands for autoclean and autoremove
67
- * [COOK-1591] - Setting up the apt proxy should leave https
68
- connections direct
69
- * [COOK-1596] - execute[apt-get-update-periodic] never runs
70
- * [COOK-1762] - create /etc/apt/preferences.d directory
71
- * [COOK-1776] - apt key check isn't idempotent
72
-
73
- ## v1.4.8:
74
-
75
- * Adds test-kitchen support
76
- * [COOK-1435] - repository lwrp is not idempotent with http key
77
-
78
- ## v1.4.6:
79
-
80
- * [COOK-1530] - apt_repository isn't aware of update-success-stamp
81
- file (also reverts COOK-1382 patch).
82
-
83
- ## v1.4.4:
84
-
85
- * [COOK-1229] - Allow cacher IP to be set manually in non-Chef Solo
86
- environments
87
- * [COOK-1530] - Immediately update apt-cache when sources.list file is dropped off
88
-
89
- ## v1.4.2:
90
-
91
- * [COOK-1155] - LWRP for apt pinning
92
-
93
- ## v1.4.0:
94
-
95
- * [COOK-889] - overwrite existing repo source files
96
- * [COOK-921] - optionally use cookbook\_file or remote\_file for key
97
- * [COOK-1032] - fixes problem with apt repository key installation