Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition with non existing file and recursemode => deep #22

Closed
roidelapluie opened this issue Jan 18, 2016 · 0 comments
Closed

Race condition with non existing file and recursemode => deep #22

roidelapluie opened this issue Jan 18, 2016 · 0 comments

Comments

@roidelapluie
Copy link
Member

test.pp:

  '/etc/test/foo.pp':
    ensure => present,
}
file{
  '/etc/test':
    ensure => directory,
}
acl {
  '/etc/test':
    action      => set,
    permission  => ["group:root:r-x"],
    recursive   => true,
    recursemode => deep,
}

Result:

# /opt/puppetlabs/bin/puppet apply foo.pp
Notice: Compiled catalog for example.com in environment production in 0.14 seconds
Error: Failed to apply catalog: Execution of '/usr/bin/getfacl --absolute-names --no-effective /etc/test/foo.pp' returned 1: getfacl: /etc/test/foo.pp: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant