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

Using File resource not working #806

Open
marek130 opened this issue Mar 6, 2024 · 0 comments
Open

Using File resource not working #806

marek130 opened this issue Mar 6, 2024 · 0 comments

Comments

@marek130
Copy link

marek130 commented Mar 6, 2024

Describe the Bug

  file { '/tmp/test':
    ensure  => 'present',
    content => 'test',
    require => Concat['/tmp/test'],
  }

  concat { '/tmp/test':
    ensure => 'present',
  }

Expected Behavior

I would expect the file has the 'test' content. But the file content is empty.

Steps to Reproduce

Apply above code

Environment

  • Puppet. 7
  • Platform Sles 15sp5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants