- Output of
puppet resource acl c:\windows
- Output of
test.pp
manifest run (make sure c:\test directory is not present prior)- What's up with initial application always showing an empty
[]
? (This appears to be a separate bug in all Puppet versions)
- What's up with initial application always showing an empty
file { 'c:/test': ensure => 'directory' } ~>
acl { 'c:/test':
purge => 'true',
permissions => [
{ identity => 'Administrators', rights => ['full']},
{ identity => 'ALL APPLICATION PACKAGES', rights => ['full']},
],
inherit_parent_permissions => 'false',
}
- Under what circumstances will
def self.format_value_for_display(value)
from acl.rb be called?- Only called with
puppet apply
, but not withpuppet resource
- see https://tickets.puppetlabs.com/browse/PUP-1893 for more info - Also only called in Puppet 4, but not Puppet 5 - https://github.com/puppetlabs/puppet/commit/23a74d93ae602d76abd54ed302a33d3e255c67de removed calls to
format_value_for_display
(this is a breaking change? impacts other modules?)
- Only called with
- What causes
permissions_to_s
breakpoint to get hit?- Haven't recorded yet
- Do we care about Ruby version?
- Tested with Ruby 2.3 and Ruby 2.4 - seems to be OK with either. Should probably test 2.1
C:\source\puppetlabs-acl
NOTE: this requires a patch to C:\source\puppetlabs-acl.bundle\gems\ruby\2.4.0\gems\puppet-5.0.0-x64-mingw32\lib\puppet\application\resource.rb
bundle exec puppet resource acl "c:\windows" --modulepath C:\source\puppetlabs-acl\spec\fixtures\modules\ --trace --debug --verbose
acl { 'c:\windows':
group => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
inherit_parent_permissions => false,
owner => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
permissions => [
{'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full'], 'affects' => 'self_only'},
{'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full'], 'child_types' => 'containers', 'affects' => 'children_only'},
{'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['modify'], 'affects' => 'self_only'},
{'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'BUILTIN\Administrators', 'rights' => ['modify'], 'affects' => 'self_only'},
{'identity' => 'BUILTIN\Administrators', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute'], 'affects' => 'self_only'},
{'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute'], 'affects' => 'children_only'},
{'identity' => 'CREATOR OWNER', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute'], 'affects' => 'self_only'},
{'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute'], 'affects' => 'children_only'}],
}
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.10 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [] to [{"identity"=>"BUILTIN\\Administrators", "rights"=>["full"]}, {"identity"=>"APPLICATION PACKAGE AUTHORITY\\ALL APPLICATION PACKAGES", "rights"=>["full"]}]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed true to 'false'
Notice: Applied catalog in 0.05 seconds
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.10 seconds
Notice: Applied catalog in 0.12 seconds
C:\source\puppetlabs-acl-4
bundle exec puppet resource acl "c:\windows" --modulepath C:\source\puppetlabs-acl-4\spec\fixtures\modules
acl { 'c:\windows':
group => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
inherit_parent_permissions => 'false',
owner => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
permissions => [{'affects' => 'self_only', 'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full']}, {'affects' => 'children_only', 'child_types' => 'containers', 'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['modify']}, {'affects' => 'children_only', 'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'BUILTIN\Administrators', 'rights' => ['modify']}, {'affects' => 'children_only', 'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'CREATOR OWNER', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute']}],
}
NOTE: that format_value_for_display is called many times in this scenario (inside acl.rb)
bundle exec puppet apply c:\test.pp --modulepath C:\source\puppetlabs-acl-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.18 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [
] to [
{ identity => 'BUILTIN\Administrators', rights => ['full'
] },
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ['full'
] }
]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed 'true' to 'false'
Notice: Applied catalog in 0.06 seconds
bundle exec puppet apply c:\test.pp --modulepath C:\source\puppetlabs-acl-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.17 seconds
Notice: Applied catalog in 0.04 seconds
bundle exec puppet apply c:\test.pp --modulepath C:\source\puppetlabs-acl-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.20 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [] to [{'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['full']}]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed 'true' to 'false'
Notice: Applied catalog in 0.05 seconds
bundle exec puppet apply c:\test.pp --modulepath C:\source\puppetlabs-acl-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.20 seconds
Notice: Applied catalog in 0.04 seconds
C:\source\puppetlabs-acl-master
NOTE: this requires a patch to C:\source\puppetlabs-acl-master.bundle\gems\ruby\2.4.0\gems\puppet-5.0.0-x64-mingw32\lib\puppet\application\resource.rb
bundle exec puppet resource acl C:\windows --modulepath C:\source\puppetlabs-acl-master\spec\fixtures\modules
acl { 'C:\windows':
group => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
inherit_parent_permissions => false,
owner => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
permissions => [
{'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full'], 'affects' => 'self_only'},
{'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full'], 'child_types' => 'containers', 'affects' => 'children_only'},
{'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['modify'], 'affects' => 'self_only'},
{'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'BUILTIN\Administrators', 'rights' => ['modify'], 'affects' => 'self_only'},
{'identity' => 'BUILTIN\Administrators', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute'], 'affects' => 'self_only'},
{'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute'], 'affects' => 'children_only'},
{'identity' => 'CREATOR OWNER', 'rights' => ['full'], 'affects' => 'children_only'},
{'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute'], 'affects' => 'self_only'},
{'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute'], 'affects' => 'children_only'}],
}
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master\spec\fixtures\modules Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.09 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [] to [
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed true to 'false'
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.06 seconds
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"], is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only', is_inherited => 'true' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master\spec\fixtures\modules Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.09 seconds
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"] },
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'BUILTIN\Users', rights => ["read", "execute"] },
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers' },
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers' },
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only' }] to [
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }]
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.22 seconds
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
Warning: Event['previous_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["read", "execute"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only' }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'BUILTIN\Administrators', rights => ["full"] }'
Warning: Event['previous_value'][0]['previous_value'][1]['previous_value'][2]['previous_value'][3]['previous_value'][4]['previous_value'][5]['desired_value'][0]['desired_value'][1] contains a Puppet::Type::Acl::Ace value. It will be converted to the String '
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }'
C:\source\puppetlabs-acl-master-4
bundle exec puppet resource acl C:\windows --modulepath C:\source\puppetlabs-acl-master-4\spec\fixtures\modules
acl { 'C:\windows':
group => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
inherit_parent_permissions => 'false',
owner => 'S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464',
permissions => [{'affects' => 'self_only', 'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full']}, {'affects' => 'children_only',
'child_types' => 'containers', 'identity' => 'NT SERVICE\TrustedInstaller', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'NT AUTHORITY\SYS
TEM', 'rights' => ['modify']}, {'affects' => 'children_only', 'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['full']}, {'affects' => 'self_only', 'identity
' => 'BUILTIN\Administrators', 'rights' => ['modify']}, {'affects' => 'children_only', 'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'affect
s' => 'self_only', 'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'BUILTIN\Users', 'rights' =>
['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'CREATOR OWNER', 'rights' => ['full']}, {'affects' => 'self_only', 'identity' => 'APPLICATI
ON PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute']}, {'affects' => 'children_only', 'identity' => 'APPLICATION PACKAGE AUTHORITY\
ALL APPLICATION PACKAGES', 'rights' => ['read', 'execute']}],
}
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.14 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [
] to [
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }
]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed 'true' to 'false'
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.05 seconds
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.15 seconds
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
called format_value_for_display
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [
{ identity => 'NT AUTHORITY\SYSTEM', rights => ["full"] },
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'BUILTIN\Users', rights => ["read", "execute"] },
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '4', child_types => 'containers' },
{ identity => 'BUILTIN\Users', rights => ["mask_specific"], mask => '2', child_types => 'containers' },
{ identity => 'CREATOR OWNER', rights => ["full"], affects => 'children_only' }
] to [
{ identity => 'BUILTIN\Administrators', rights => ["full"] },
{ identity => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', rights => ["full"] }
]
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.05 seconds
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.15 seconds
Notice: /Stage[main]/Main/File[c:/test]/ensure: created
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [] to [{'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['full']}]
Notice: /Stage[main]/Main/Acl[c:/test]/inherit_parent_permissions: inherit_parent_permissions changed 'true' to 'false'
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.05 seconds
bundle exec puppet apply C:\test.pp --modulepath C:\source\puppetlabs-acl-master-4\spec\fixtures\modules
Notice: Compiled catalog for f8hwnj18fjl5t5z.delivery.puppetlabs.net in environment production in 0.14 seconds
Notice: /Stage[main]/Main/Acl[c:/test]/permissions: permissions changed [{'identity' => 'NT AUTHORITY\SYSTEM', 'rights' => ['full']}, {'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'identity' => 'BUILTIN\Users', 'rights' => ['read', 'execute']}, {'child_types' => 'containers', 'identity' => 'BUILTIN\Users', 'mask' => '4', 'rights' => ['mask_specific']}, {'child_types' => 'containers', 'identity' => 'BUILTIN\Users', 'mask' => '2', 'rights' => ['mask_specific']}, {'affects' => 'children_only', 'identity' => 'CREATOR OWNER', 'rights' => ['full']}] to [{'identity' => 'BUILTIN\Administrators', 'rights' => ['full']}, {'identity' => 'APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES', 'rights' => ['full']}]
Error: /Stage[main]/Main/Acl[c:/test]: Could not evaluate: Failed to set security descriptor for path 'c:/test': undefined method `bytesize' for nil:NilClass Notice: Applied catalog in 0.06 seconds