Skip to content

File method doesn't unpack the file #9

@thomaslarsen

Description

@thomaslarsen

When using the file method (method => 'file'), then the unpackeclipse exec is not invoked as it is missing when using the file method. This results in a fatal error:

Error: Could not find dependency Exec[upackeclipse] for Exec[modeclipse] at /opt/librarian-puppet/modules/eclipse/manifests/init.pp:109

It looks like you can just reuse the unpackeclipse from the wget method, except it will need to require the eclipsefile:

exec {"upackeclipse":
    command=>$unpackcommand,
    cwd=> $eclipse::params::executefrom,
    path=> $eclipse::params::execlaunchpaths,
    creates=>$finalcreates,
    logoutput=> on_failure,
    require=>File["eclipsefile"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions