Ask Your Question

Could not evaluate: Invalid DACL: The access control list (ACL) structure is invalid. Could not retrieve file metadata for puppet:///modules

asked 2013-12-17 03:40:12 -0600

jole gravatar image

I'm getting a very strange error that I can't seem to get around. I'm just trying to "copy" a file from a module to the file system so another resource can use it. The code is below and the error is in the title. Ideas?

  file { ['C:/@Puppet','C:/@Puppet/PowerShell','C:/@Puppet/PowerShell/Modules']:
      ensure  => 'directory'

  file {'Windows-Utils':
    ensure    => present,
    path      => 'C:/@Puppet/PowerShell/Modules/Windows-Utils.psm1',
    source    => "puppet:///modules/${module_name}/Windows-Utils.psm1",
    require  => File['C:/@Puppet/PowerShell/Modules'],  

I've tried to copy another file and that didn't work either.

edit retag flag offensive close merge delete


The `file` resource would autorequire its nearest ancestor that puppet is also managing, so the `require => File['C:/@Puppet/PowerShell/Modules']` line should not be necessary.

joshc gravatar imagejoshc ( 2014-02-20 11:55:24 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-02-20 11:57:28 -0600

joshc gravatar image

This sounds like which will be released in 3.5.0.

edit flag offensive delete link more

answered 2013-12-17 07:40:12 -0600

jole gravatar image

I think that this is related to the symlink problem on windows in the puppet file provider. The module I was writing was symlinked into the etc\xxx\modules folder. When I simply copied it there it started working again...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-12-17 03:40:12 -0600

Seen: 828 times

Last updated: Feb 20 '14