puppet 3.8.2-x64-mingw32 → 3.8.3-x64-mingw32
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.
- data/ext/build_defaults.yaml +4 -4
- data/lib/puppet/parser/compiler.rb +1 -3
- data/lib/puppet/parser/resource.rb +13 -10
- data/lib/puppet/pops/issues.rb +1 -1
- data/lib/puppet/pops/parser/egrammar.ra +6 -0
- data/lib/puppet/pops/parser/eparser.rb +908 -877
- data/lib/puppet/pops/validation/checker4_0.rb +12 -0
- data/lib/puppet/provider/exec.rb +6 -1
- data/lib/puppet/provider/service/launchd.rb +35 -8
- data/lib/puppet/resource/catalog.rb +0 -4
- data/lib/puppet/util/execution.rb +18 -2
- data/lib/puppet/version.rb +1 -1
- data/spec/integration/transaction_spec.rb +1 -1
- data/spec/integration/type/file_spec.rb +0 -1
- data/spec/integration/util/windows/security_spec.rb +14 -5
- data/spec/unit/pops/validator/validator_spec.rb +15 -0
- data/spec/unit/provider/service/launchd_spec.rb +75 -24
- data/spec/unit/type/exec_spec.rb +16 -8
- data/spec/unit/util/windows/sid_spec.rb +0 -10
- metadata +2 -2
@@ -13,16 +13,6 @@ describe "Puppet::Util::Windows::SID", :if => Puppet.features.microsoft_windows?
|
|
13
13
|
let(:unknown_name) { 'chewbacca' }
|
14
14
|
|
15
15
|
context "#octet_string_to_sid_object" do
|
16
|
-
it "should properly convert an array of bytes for the local Administrator SID" do
|
17
|
-
host = '.'
|
18
|
-
username = 'Administrator'
|
19
|
-
admin = WIN32OLE.connect("WinNT://#{host}/#{username},user")
|
20
|
-
converted = subject.octet_string_to_sid_object(admin.objectSID)
|
21
|
-
|
22
|
-
converted.should == Win32::Security::SID.new(username, host)
|
23
|
-
converted.should be_an_instance_of Win32::Security::SID
|
24
|
-
end
|
25
|
-
|
26
16
|
it "should properly convert an array of bytes for a well-known SID" do
|
27
17
|
bytes = [1, 1, 0, 0, 0, 0, 0, 5, 18, 0, 0, 0]
|
28
18
|
converted = subject.octet_string_to_sid_object(bytes)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.3
|
5
5
|
prerelease:
|
6
6
|
platform: x64-mingw32
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: facter
|