puppet 3.0.2.rc1 → 3.0.2.rc2

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.

@@ -73,7 +73,6 @@ describe Puppet::Util::RunMode do
73
73
  before do
74
74
  if not Dir.const_defined? :COMMON_APPDATA
75
75
  Dir.const_set :COMMON_APPDATA, "/CommonFakeBase"
76
- Dir.const_set :LOCAL_APPDATA, "/LocalFakeBase"
77
76
  @remove_const = true
78
77
  end
79
78
  @run_mode = Puppet::Util::WindowsRunMode.new('fake')
@@ -82,7 +81,6 @@ describe Puppet::Util::RunMode do
82
81
  after do
83
82
  if @remove_const
84
83
  Dir.send :remove_const, :COMMON_APPDATA
85
- Dir.send :remove_const, :LOCAL_APPDATA
86
84
  end
87
85
  end
88
86
 
@@ -91,8 +89,8 @@ describe Puppet::Util::RunMode do
91
89
  as_root { @run_mode.conf_dir.should == File.expand_path(File.join(Dir::COMMON_APPDATA, "PuppetLabs", "puppet", "etc")) }
92
90
  end
93
91
 
94
- it "has confdir in the local appdata when run as non-root" do
95
- as_non_root { @run_mode.conf_dir.should == File.expand_path(File.join(Dir::LOCAL_APPDATA, "PuppetLabs", "puppet")) }
92
+ it "has confdir in ~/.puppet when run as non-root" do
93
+ as_non_root { @run_mode.conf_dir.should == File.expand_path("~/.puppet") }
96
94
  end
97
95
  end
98
96
 
@@ -101,8 +99,8 @@ describe Puppet::Util::RunMode do
101
99
  as_root { @run_mode.var_dir.should == File.expand_path(File.join(Dir::COMMON_APPDATA, "PuppetLabs", "puppet", "var")) }
102
100
  end
103
101
 
104
- it "has vardir local appdata when run as non-root" do
105
- as_non_root { @run_mode.var_dir.should == File.expand_path(File.join(Dir::LOCAL_APPDATA, "PuppetLabs", "puppet", "var")) }
102
+ it "has vardir in ~/.puppet/var when run as non-root" do
103
+ as_non_root { @run_mode.var_dir.should == File.expand_path("~/.puppet/var") }
106
104
  end
107
105
  end
108
106
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- hash: -4280708972
4
+ hash: 3193552049
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 2
10
10
  - rc
11
- - 1
12
- version: 3.0.2.rc1
11
+ - 2
12
+ version: 3.0.2.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Puppet Labs
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-12-04 00:00:00 Z
20
+ date: 2012-12-11 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: hiera