Skip to content

Using File resource not working #806

Open
@marek130

Description

@marek130

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions