Skip to content

Resource Ordering Issue in instool.pp #9

@ljohnston

Description

@ljohnston

Should the 'before' in the following from instool.pp...

  file{$instdir:
    ensure  => directory,
    recurse => true,
    source  => $tmpdir,
    before  => Exec['download_and_untar'],
  }

...be a 'require'...

  file{$instdir:
    ensure  => directory,
    recurse => true,
    source  => $tmpdir,
    require => Exec['download_and_untar'],
  }

This file resource is trying to recursively copy its contents from $tmpdir, but $tmpdir has no contents until Exec['download_and_untar'] is applied.

The module would not work for me until I made the above modification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions