puppetlabs-concat icon indicating copy to clipboard operation
puppetlabs-concat copied to clipboard

Using File resource not working

Open marek130 opened this issue 11 months ago • 0 comments

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

marek130 avatar Mar 06 '24 16:03 marek130