puppetlabs / puppetlabs-concat

File concatenation system for Puppet
Apache License 2.0
171 stars 303 forks source link

Using File resource not working #806

Open marek130 opened 6 months ago

marek130 commented 6 months ago

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