puppet 2.6.6 → 2.6.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (140) hide show
  1. data/CHANGELOG +107 -1
  2. data/README.queueing +1 -1
  3. data/Rakefile +1 -1
  4. data/conf/solaris/smf/svc-puppetd +0 -2
  5. data/conf/solaris/smf/svc-puppetmasterd +0 -2
  6. data/examples/etc/init.d/sleeper +0 -2
  7. data/examples/modules/sample-module/README.txt +2 -2
  8. data/ext/puppetstoredconfigclean.rb +1 -1
  9. data/install.rb +20 -25
  10. data/lib/puppet.rb +1 -1
  11. data/lib/puppet/application/agent.rb +2 -2
  12. data/lib/puppet/application/apply.rb +2 -2
  13. data/lib/puppet/application/cert.rb +27 -11
  14. data/lib/puppet/application/filebucket.rb +1 -1
  15. data/lib/puppet/application/inspect.rb +1 -1
  16. data/lib/puppet/application/kick.rb +2 -2
  17. data/lib/puppet/application/master.rb +1 -1
  18. data/lib/puppet/application/queue.rb +2 -2
  19. data/lib/puppet/configurer/downloader.rb +1 -0
  20. data/lib/puppet/configurer/plugin_handler.rb +8 -1
  21. data/lib/puppet/daemon.rb +1 -1
  22. data/lib/puppet/defaults.rb +18 -2
  23. data/lib/puppet/external/nagios.rb +0 -2
  24. data/lib/puppet/external/nagios/base.rb +0 -2
  25. data/lib/puppet/indirector/facts/inventory_active_record.rb +97 -0
  26. data/lib/puppet/indirector/facts/rest.rb +2 -0
  27. data/lib/puppet/indirector/facts/yaml.rb +75 -0
  28. data/lib/puppet/indirector/indirection.rb +1 -0
  29. data/lib/puppet/module.rb +1 -1
  30. data/lib/puppet/network/http/api/v1.rb +3 -4
  31. data/lib/puppet/network/http/compression.rb +4 -1
  32. data/lib/puppet/network/http/handler.rb +1 -1
  33. data/lib/puppet/network/rest_authconfig.rb +1 -1
  34. data/lib/puppet/node/facts.rb +29 -0
  35. data/lib/puppet/parser/ast/collection.rb +5 -4
  36. data/lib/puppet/parser/ast/leaf.rb +1 -1
  37. data/lib/puppet/parser/functions/regsubst.rb +7 -14
  38. data/lib/puppet/parser/functions/split.rb +7 -7
  39. data/lib/puppet/parser/grammar.ra +2 -4
  40. data/lib/puppet/parser/lexer.rb +4 -1
  41. data/lib/puppet/parser/parser.rb +2062 -1976
  42. data/lib/puppet/parser/parser_support.rb +3 -3
  43. data/lib/puppet/provider/computer/computer.rb +1 -3
  44. data/lib/puppet/provider/mount.rb +12 -16
  45. data/lib/puppet/provider/mount/parsed.rb +67 -8
  46. data/lib/puppet/provider/parsedfile.rb +3 -1
  47. data/lib/puppet/provider/service/daemontools.rb +6 -6
  48. data/lib/puppet/provider/service/gentoo.rb +0 -2
  49. data/lib/puppet/provider/service/launchd.rb +11 -8
  50. data/lib/puppet/provider/service/runit.rb +4 -4
  51. data/lib/puppet/provider/user/useradd.rb +6 -1
  52. data/lib/puppet/rails/database/004_add_inventory_service_tables.rb +36 -0
  53. data/lib/puppet/rails/database/schema.rb +17 -0
  54. data/lib/puppet/rails/fact_name.rb +0 -2
  55. data/lib/puppet/rails/fact_value.rb +0 -2
  56. data/lib/puppet/rails/inventory_fact.rb +5 -0
  57. data/lib/puppet/rails/inventory_node.rb +25 -0
  58. data/lib/puppet/reference/configuration.rb +1 -1
  59. data/lib/puppet/reference/metaparameter.rb +1 -1
  60. data/lib/puppet/reports/store.rb +4 -1
  61. data/lib/puppet/resource.rb +39 -25
  62. data/lib/puppet/type.rb +5 -5
  63. data/lib/puppet/type/augeas.rb +4 -4
  64. data/lib/puppet/type/computer.rb +5 -1
  65. data/lib/puppet/type/exec.rb +3 -1
  66. data/lib/puppet/type/file.rb +3 -1
  67. data/lib/puppet/type/file/content.rb +13 -15
  68. data/lib/puppet/type/file/ensure.rb +11 -17
  69. data/lib/puppet/type/file/selcontext.rb +16 -0
  70. data/lib/puppet/type/file/target.rb +14 -1
  71. data/lib/puppet/type/k5login.rb +0 -2
  72. data/lib/puppet/type/macauthorization.rb +4 -1
  73. data/lib/puppet/type/mcx.rb +4 -1
  74. data/lib/puppet/type/mount.rb +37 -21
  75. data/lib/puppet/type/package.rb +5 -1
  76. data/lib/puppet/type/schedule.rb +20 -20
  77. data/lib/puppet/type/selmodule.rb +3 -1
  78. data/lib/puppet/type/ssh_authorized_key.rb +5 -1
  79. data/lib/puppet/type/user.rb +14 -1
  80. data/lib/puppet/type/zfs.rb +3 -1
  81. data/lib/puppet/type/zone.rb +3 -1
  82. data/lib/puppet/type/zpool.rb +7 -5
  83. data/lib/puppet/util.rb +5 -0
  84. data/lib/puppet/util/command_line.rb +1 -1
  85. data/lib/puppet/util/execution.rb +4 -5
  86. data/lib/puppet/util/execution_stub.rb +26 -0
  87. data/lib/puppet/util/monkey_patches.rb +21 -0
  88. data/lib/puppet/util/rdoc/code_objects.rb +39 -0
  89. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +18 -0
  90. data/lib/puppet/util/rdoc/parser.rb +5 -3
  91. data/lib/puppet/util/settings.rb +1 -1
  92. data/spec/integration/parser/parser_spec.rb +7 -0
  93. data/spec/integration/provider/mount_spec.rb +151 -0
  94. data/spec/integration/type/file_spec.rb +32 -29
  95. data/spec/spec_helper.rb +2 -0
  96. data/spec/unit/application/agent_spec.rb +3 -7
  97. data/spec/unit/application/apply_spec.rb +17 -2
  98. data/spec/unit/application/cert_spec.rb +54 -14
  99. data/spec/unit/application/filebucket_spec.rb +1 -1
  100. data/spec/unit/application/queue_spec.rb +1 -5
  101. data/spec/unit/configurer/downloader_spec.rb +22 -10
  102. data/spec/unit/daemon_spec.rb +1 -5
  103. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +163 -0
  104. data/spec/unit/indirector/facts/yaml_spec.rb +216 -2
  105. data/spec/unit/indirector/queue_spec.rb +3 -0
  106. data/spec/unit/module_spec.rb +2 -2
  107. data/spec/unit/network/handler/fileserver_spec.rb +1 -1
  108. data/spec/unit/network/http/api/v1_spec.rb +28 -0
  109. data/spec/unit/network/http/compression_spec.rb +1 -1
  110. data/spec/unit/network/http/handler_spec.rb +7 -4
  111. data/spec/unit/node/facts_spec.rb +24 -0
  112. data/spec/unit/parser/ast/collection_spec.rb +16 -12
  113. data/spec/unit/parser/lexer_spec.rb +16 -0
  114. data/spec/unit/parser/parser_spec.rb +35 -2
  115. data/spec/unit/provider/mount/parsed_spec.rb +199 -114
  116. data/spec/unit/provider/mount_spec.rb +54 -53
  117. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +1 -0
  118. data/spec/unit/provider/user/user_role_add_spec.rb +1 -0
  119. data/spec/unit/provider/user/useradd_spec.rb +43 -3
  120. data/spec/unit/reports/store_spec.rb +1 -1
  121. data/spec/unit/resource_spec.rb +39 -13
  122. data/spec/unit/type/file/content_spec.rb +38 -137
  123. data/spec/unit/type/file/selinux_spec.rb +5 -0
  124. data/spec/unit/type/mount_spec.rb +167 -122
  125. data/spec/unit/type/user_spec.rb +4 -0
  126. data/spec/unit/type_spec.rb +12 -1
  127. data/spec/unit/util/execution_spec.rb +49 -0
  128. data/spec/unit/util/execution_stub_spec.rb +35 -0
  129. data/spec/unit/util/rdoc/parser_spec.rb +15 -3
  130. data/spec/unit/util/settings_spec.rb +11 -2
  131. data/tasks/rake/git_workflow.rake +1 -1
  132. data/test/Rakefile +0 -2
  133. data/test/data/providers/mount/parsed/aix.mount +7 -0
  134. data/test/data/providers/mount/parsed/darwin.mount +6 -0
  135. data/test/data/providers/mount/parsed/hpux.mount +17 -0
  136. data/test/data/providers/mount/parsed/linux.mount +5 -0
  137. data/test/data/providers/mount/parsed/solaris.mount +6 -0
  138. data/test/data/types/mount/linux.fstab +1 -0
  139. data/test/data/types/mount/solaris.fstab +1 -0
  140. metadata +18 -4
@@ -43,6 +43,10 @@ describe user do
43
43
  user.provider_feature(:manages_password_age).should_not be_nil
44
44
  end
45
45
 
46
+ it "should have a system_users feature" do
47
+ user.provider_feature(:system_users).should_not be_nil
48
+ end
49
+
46
50
  describe "instances" do
47
51
  it "should have a valid provider" do
48
52
  user.new(:name => "foo").provider.class.ancestors.should be_include(Puppet::Provider)
@@ -434,7 +434,7 @@ describe Puppet::Type do
434
434
  patterns.length.should == 1
435
435
  patterns[0].length.should == 2
436
436
  end
437
-
437
+
438
438
  it "should have a regexp that captures the entire string" do
439
439
  patterns = @type_class.title_patterns
440
440
  string = "abc\n\tdef"
@@ -570,4 +570,15 @@ describe Puppet::Type.metaparamclass(:audit) do
570
570
  @resource[:audit] = :noop
571
571
  @resource.parameter(:noop).should be_nil
572
572
  end
573
+
574
+ describe "when generating the uniqueness key" do
575
+ it "should include all of the key_attributes in alphabetical order by attribute name" do
576
+ Puppet::Type.type(:file).stubs(:key_attributes).returns [:path, :mode, :owner]
577
+ Puppet::Type.type(:file).stubs(:title_patterns).returns(
578
+ [ [ /(.*)/, [ [:path, lambda{|x| x} ] ] ] ]
579
+ )
580
+ res = Puppet::Type.type(:file).new( :title => '/my/file', :path => '/my/file', :owner => 'root', :content => 'hello' )
581
+ res.uniqueness_key.should == [ nil, 'root', '/my/file']
582
+ end
583
+ end
573
584
  end
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.dirname(__FILE__) + '/../../spec_helper'
4
+
5
+ describe Puppet::Util::Execution do
6
+ include Puppet::Util::Execution
7
+ describe "#withenv" do
8
+ before :each do
9
+ @original_path = ENV["PATH"]
10
+ @new_env = {:PATH => "/some/bogus/path"}
11
+ end
12
+
13
+ it "should change environment variables within the block then reset environment variables to their original values" do
14
+ withenv @new_env do
15
+ ENV["PATH"].should == "/some/bogus/path"
16
+ end
17
+ ENV["PATH"].should == @original_path
18
+ end
19
+
20
+ it "should reset environment variables to their original values even if the block fails" do
21
+ begin
22
+ withenv @new_env do
23
+ ENV["PATH"].should == "/some/bogus/path"
24
+ raise "This is a failure"
25
+ end
26
+ rescue
27
+ end
28
+ ENV["PATH"].should == @original_path
29
+ end
30
+
31
+ it "should reset environment variables even when they are set twice" do
32
+ # Setting Path & Environment parameters in Exec type can cause weirdness
33
+ @new_env["PATH"] = "/someother/bogus/path"
34
+ withenv @new_env do
35
+ # When assigning duplicate keys, can't guarantee order of evaluation
36
+ ENV["PATH"].should =~ /\/some.*\/bogus\/path/
37
+ end
38
+ ENV["PATH"].should == @original_path
39
+ end
40
+
41
+ it "should remove any new environment variables after the block ends" do
42
+ @new_env[:FOO] = "bar"
43
+ withenv @new_env do
44
+ ENV["FOO"].should == "bar"
45
+ end
46
+ ENV["FOO"].should == nil
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,35 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.dirname(__FILE__) + '/../../spec_helper'
4
+
5
+ describe Puppet::Util::ExecutionStub do
6
+ it "should use the provided stub code when 'set' is called" do
7
+ Puppet::Util::ExecutionStub.set do |command, options|
8
+ command.should == ['/bin/foo', 'bar']
9
+ "stub output"
10
+ end
11
+ Puppet::Util::ExecutionStub.current_value.should_not == nil
12
+ Puppet::Util.execute(['/bin/foo', 'bar']).should == "stub output"
13
+ end
14
+
15
+ it "should automatically restore normal execution at the conclusion of each spec test" do
16
+ # Note: this test relies on the previous test creating a stub.
17
+ Puppet::Util::ExecutionStub.current_value.should == nil
18
+ end
19
+
20
+ it "should restore normal execution after 'reset' is called" do
21
+ true_command = Puppet::Util.which('true') # Note: "true" exists at different paths in different OSes
22
+ stub_call_count = 0
23
+ Puppet::Util::ExecutionStub.set do |command, options|
24
+ command.should == [true_command]
25
+ stub_call_count += 1
26
+ 'stub called'
27
+ end
28
+ Puppet::Util.execute([true_command]).should == 'stub called'
29
+ stub_call_count.should == 1
30
+ Puppet::Util::ExecutionStub.reset
31
+ Puppet::Util::ExecutionStub.current_value.should == nil
32
+ Puppet::Util.execute([true_command]).should == ''
33
+ stub_call_count.should == 1
34
+ end
35
+ end
@@ -43,6 +43,18 @@ describe RDoc::Parser do
43
43
 
44
44
  @parser.scan.should be_a(RDoc::PuppetTopLevel)
45
45
  end
46
+
47
+ it "should scan the top level even if the file has already parsed" do
48
+ known_type = stub 'known_types'
49
+ env = stub 'env'
50
+ Puppet::Node::Environment.stubs(:new).returns(env)
51
+ env.stubs(:known_resource_types).returns(known_type)
52
+ known_type.expects(:watching_file?).with("module/manifests/init.pp").returns(true)
53
+
54
+ @parser.expects(:scan_top_level)
55
+
56
+ @parser.scan
57
+ end
46
58
  end
47
59
 
48
60
  describe "when scanning top level entities" do
@@ -339,7 +351,7 @@ describe RDoc::Parser do
339
351
  describe "when scanning for includes and requires" do
340
352
 
341
353
  def create_stmt(name)
342
- stmt_value = stub "#{name}_value", :value => "myclass"
354
+ stmt_value = stub "#{name}_value", :to_s => "myclass"
343
355
 
344
356
  Puppet::Parser::AST::Function.new(
345
357
  :name => name,
@@ -357,13 +369,13 @@ describe RDoc::Parser do
357
369
  it "should also scan mono-instruction code" do
358
370
  @class.expects(:add_include).with { |i| i.is_a?(RDoc::Include) and i.name == "myclass" and i.comment == "mydoc" }
359
371
 
360
- @parser.scan_for_include_or_require(@class,create_stmt("include"))
372
+ @parser.scan_for_include_or_require(@class, create_stmt("include"))
361
373
  end
362
374
 
363
375
  it "should register recursively includes to the current container" do
364
376
  @code.stubs(:children).returns([ create_stmt("include") ])
365
377
 
366
- @class.expects(:add_include).with { |i| i.is_a?(RDoc::Include) and i.name == "myclass" and i.comment == "mydoc" }
378
+ @class.expects(:add_include)#.with { |i| i.is_a?(RDoc::Include) and i.name == "myclass" and i.comment == "mydoc" }
367
379
  @parser.scan_for_include_or_require(@class, [@code])
368
380
  end
369
381
 
@@ -284,7 +284,8 @@ describe Puppet::Util::Settings do
284
284
  @settings = Puppet::Util::Settings.new
285
285
  @settings.setdefaults :section,
286
286
  :config => ["/my/file", "a"],
287
- :one => ["ONE", "a"]
287
+ :one => ["ONE", "a"],
288
+ :two => ["TWO", "b"]
288
289
  FileTest.stubs(:exist?).returns true
289
290
  Puppet.stubs(:run_mode).returns stub('run_mode', :name => :mymode)
290
291
  end
@@ -331,12 +332,20 @@ describe Puppet::Util::Settings do
331
332
  @settings.value(:one, "env").should == "envval"
332
333
  end
333
334
 
334
- it "should interpolate found values using the current environment" do
335
+ it 'should use the current environment for $environment' do
335
336
  @settings.setdefaults :main, :myval => ["$environment/foo", "mydocs"]
336
337
 
337
338
  @settings.value(:myval, "myenv").should == "myenv/foo"
338
339
  end
339
340
 
341
+ it "should interpolate found values using the current environment" do
342
+ text = "[main]\none = mainval\n[myname]\none = nameval\ntwo = $one/two\n"
343
+ @settings.stubs(:read_file).returns(text)
344
+ @settings.parse
345
+
346
+ @settings.value(:two, "myname").should == "nameval/two"
347
+ end
348
+
340
349
  it "should return values in a specified environment before values in the main or name sections" do
341
350
  text = "[env]\none = envval\n[main]\none = mainval\n[myname]\none = nameval\n"
342
351
  @settings.stubs(:read_file).returns(text)
@@ -1,5 +1,5 @@
1
1
  # This set of tasks helps automate the workflow as described on
2
- # http://reductivelabs.com/trac/puppet/wiki/Development/DevelopmentLifecycle
2
+ # http://projects.puppetlabs.com/projects/puppet/wiki/Development_Lifecycle
3
3
 
4
4
 
5
5
  def find_start(start)
@@ -94,5 +94,3 @@ filemap.each do |dir, files|
94
94
  # And alias it with a slash on the end
95
95
  task(dir + "/" => dir)
96
96
  end
97
-
98
- # $Id$
@@ -0,0 +1,7 @@
1
+ node mounted mounted over vfs date options
2
+ ---- ------- ------------ --- ------------ -------------------
3
+ /dev/hd0 / jfs Dec 17 08:04 rw, log =/dev/hd8
4
+ /dev/hd3 /tmp jfs Dec 17 08:04 rw, log =/dev/hd8
5
+ /dev/hd1 /home jfs Dec 17 08:06 rw, log =/dev/hd8
6
+ /dev/hd2 /usr jfs Dec 17 08:06 rw, log =/dev/hd8
7
+ sue /home/local/src /usr/code nfs Dec 17 08:06 ro, log =/dev/hd8
@@ -0,0 +1,6 @@
1
+ /dev/disk0s2 on / (hfs, local, journaled)
2
+ devfs on /dev (devfs, local, nobrowse)
3
+ map -hosts on /net (autofs, nosuid, automounted, nobrowse)
4
+ map auto_home on /home (autofs, automounted, nobrowse)
5
+ /dev/disk0s3 on /usr (hfs, local, journaled)
6
+ /dev/fake on /ghost (hfs, local, journaled)
@@ -0,0 +1,17 @@
1
+ / on rpool/ROOT/opensolaris read/write/setuid/devices/dev=2d90002 on Wed Dec 31 16:00:00 1969
2
+ /devices on /devices read/write/setuid/devices/dev=4a00000 on Thu Feb 17 14:34:02 2011
3
+ /dev on /dev read/write/setuid/devices/dev=4a40000 on Thu Feb 17 14:34:02 2011
4
+ /system/contract on ctfs read/write/setuid/devices/dev=4ac0001 on Thu Feb 17 14:34:02 2011
5
+ /proc on proc read/write/setuid/devices/dev=4b00000 on Thu Feb 17 14:34:02 2011
6
+ /etc/mnttab on mnttab read/write/setuid/devices/dev=4b40001 on Thu Feb 17 14:34:02 2011
7
+ /etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4b80001 on Thu Feb 17 14:34:02 2011
8
+ /system/object on objfs read/write/setuid/devices/dev=4bc0001 on Thu Feb 17 14:34:02 2011
9
+ /etc/dfs/sharetab on sharefs read/write/setuid/devices/dev=4c00001 on Thu Feb 17 14:34:02 2011
10
+ /lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=2d90002 on Thu Feb 17 14:34:14 2011
11
+ /dev/fd on fd read/write/setuid/devices/dev=4d00001 on Thu Feb 17 14:34:18 2011
12
+ /tmp on swap read/write/setuid/devices/xattr/dev=4b80002 on Thu Feb 17 14:34:19 2011
13
+ /var/run on swap read/write/setuid/devices/xattr/dev=4b80003 on Thu Feb 17 14:34:19 2011
14
+ /export on rpool/export read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90006 on Thu Feb 17 14:37:48 2011
15
+ /export/home on rpool/export/home read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90007 on Thu Feb 17 14:37:48 2011
16
+ /rpool on rpool read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90009 on Thu Feb 17 14:37:48 2011
17
+ /ghost on /dev/fake read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90009 on Thu Feb 17 14:37:48 2011
@@ -0,0 +1,5 @@
1
+ /dev/root on / type jfs (rw,noatime)
2
+ rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
3
+ sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
4
+ /dev/sda9 on /usr/portage type jfs (rw)
5
+ /dev/fake on /ghost type jfs (rw)
@@ -0,0 +1,6 @@
1
+ / on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/xattr/onerror=panic/dev=2200000 on Mon Mar 18 08:48:45 2002
2
+ /proc on /proc read/write/setuid/dev=4300000 on Mon Mar 18 08:48:44 2002
3
+ /etc/mnttab on mnttab read/write/setuid/dev=43c0000 on Mon Mar 18 08:48:44 2002
4
+ /tmp on swap read/write/setuid/xattr/dev=2 on Mon Mar 18 08:48:52 2002
5
+ /export/home on /dev/dsk/c0t0d0s7 read/write/setuid/intr/largefiles/xattr/onerror=panic/dev=2200007 on Mon Mar 18
6
+ /ghost on /dev/dsk/c0t1d0s7 read/write/setuid/intr/largefiles/xattr/onerror=panic/dev=2200007 on Mon Mar 18
@@ -9,3 +9,4 @@ proc /proc proc defaults 0 0
9
9
  /dev/vg00/lv01 /spare ext3 defaults 1 2
10
10
  sysfs /sys sysfs defaults 0 0
11
11
  LABEL=SWAP-hda6 swap swap defaults 0 0
12
+ /dev/sda1 /usr xfs noatime 0 0
@@ -9,3 +9,4 @@ fd - /dev/fd fd - no -
9
9
  ctfs - /system/contract ctfs - no -
10
10
  objfs - /system/object objfs - no -
11
11
  #swap - /tmp tmpfs - yes -
12
+ /dev/dsk/c0d0s2 /dev/rdsk/c0d0s2 /usr ufs 1 no -
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 6
9
- - 6
10
- version: 2.6.6
9
+ - 7
10
+ version: 2.6.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Puppet Labs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-09 00:00:00 -08:00
18
+ date: 2011-03-24 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -214,10 +214,12 @@ files:
214
214
  - lib/puppet/provider/nameservice/objectadd.rb
215
215
  - lib/puppet/provider/mailalias/aliases.rb
216
216
  - lib/puppet/error.rb
217
+ - lib/puppet/rails/inventory_fact.rb
217
218
  - lib/puppet/rails/host.rb
218
219
  - lib/puppet/rails/fact_value.rb
219
220
  - lib/puppet/rails/resource_tag.rb
220
221
  - lib/puppet/rails/fact_name.rb
222
+ - lib/puppet/rails/inventory_node.rb
221
223
  - lib/puppet/rails/param_value.rb
222
224
  - lib/puppet/rails/benchmark.rb
223
225
  - lib/puppet/rails/puppet_tag.rb
@@ -225,6 +227,7 @@ files:
225
227
  - lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb
226
228
  - lib/puppet/rails/database/schema.rb
227
229
  - lib/puppet/rails/database/001_add_created_at_to_all_tables.rb
230
+ - lib/puppet/rails/database/004_add_inventory_service_tables.rb
228
231
  - lib/puppet/rails/param_name.rb
229
232
  - lib/puppet/rails/source_file.rb
230
233
  - lib/puppet/rails/resource.rb
@@ -396,6 +399,7 @@ files:
396
399
  - lib/puppet/indirector/certificate_revocation_list/file.rb
397
400
  - lib/puppet/indirector/envelope.rb
398
401
  - lib/puppet/indirector/facts/rest.rb
402
+ - lib/puppet/indirector/facts/inventory_active_record.rb
399
403
  - lib/puppet/indirector/facts/facter.rb
400
404
  - lib/puppet/indirector/facts/couch.rb
401
405
  - lib/puppet/indirector/facts/yaml.rb
@@ -531,6 +535,7 @@ files:
531
535
  - lib/puppet/util/rails/cache_accumulator.rb
532
536
  - lib/puppet/util/rails/reference_serializer.rb
533
537
  - lib/puppet/util/rails/collection_merger.rb
538
+ - lib/puppet/util/execution_stub.rb
534
539
  - lib/puppet/util/provider_features.rb
535
540
  - lib/puppet/util/queue/stomp.rb
536
541
  - lib/puppet/util/run_mode.rb
@@ -757,6 +762,11 @@ files:
757
762
  - test/data/types/ssh_authorized_key/1
758
763
  - test/data/types/sshkey/1
759
764
  - test/data/types/mailalias/file1
765
+ - test/data/providers/mount/parsed/solaris.mount
766
+ - test/data/providers/mount/parsed/hpux.mount
767
+ - test/data/providers/mount/parsed/aix.mount
768
+ - test/data/providers/mount/parsed/darwin.mount
769
+ - test/data/providers/mount/parsed/linux.mount
760
770
  - test/data/providers/cron/crontab.envNname
761
771
  - test/data/providers/cron/crontab_sample_records.yaml
762
772
  - test/data/providers/cron/crontab_multiple_with_env.yaml
@@ -1146,6 +1156,7 @@ files:
1146
1156
  - spec/unit/indirector/certificate_revocation_list/rest_spec.rb
1147
1157
  - spec/unit/indirector/certificate_revocation_list/file_spec.rb
1148
1158
  - spec/unit/indirector/facts/yaml_spec.rb
1159
+ - spec/unit/indirector/facts/inventory_active_record_spec.rb
1149
1160
  - spec/unit/indirector/facts/rest_spec.rb
1150
1161
  - spec/unit/indirector/facts/facter_spec.rb
1151
1162
  - spec/unit/indirector/facts/couch_spec.rb
@@ -1245,6 +1256,8 @@ files:
1245
1256
  - spec/unit/util/queue/stomp_spec.rb
1246
1257
  - spec/unit/util/queue_spec.rb
1247
1258
  - spec/unit/util/settings/file_setting_spec.rb
1259
+ - spec/unit/util/execution_spec.rb
1260
+ - spec/unit/util/execution_stub_spec.rb
1248
1261
  - spec/unit/util/filetype_spec.rb
1249
1262
  - spec/unit/util/posix_spec.rb
1250
1263
  - spec/unit/util/cacher_spec.rb
@@ -1307,6 +1320,7 @@ files:
1307
1320
  - spec/integration/type/tidy_spec.rb
1308
1321
  - spec/integration/type/package_spec.rb
1309
1322
  - spec/integration/type/file_spec.rb
1323
+ - spec/integration/provider/mount_spec.rb
1310
1324
  - spec/integration/provider/package_spec.rb
1311
1325
  - spec/integration/provider/service/init_spec.rb
1312
1326
  - spec/integration/provider/mailalias/aliases_spec.rb