Skip to content

add shebang to 2 rb scripts in /scripts #40

@perfecto25

Description

@perfecto25

the 2 ruby scripts do not have a #!/usr/bin/env ruby

this causes an issue if you clone repo on a windows machine using Git Bash for windows.

this caused an issue where the executable bits for these 2 files were changed on windows due to missing shebang and this caused Puppet agent run failure due to inability of puppet to execute the scripts. Updating the scripts from a linux-based git location made no difference, the exec bits do not get set, unless you wipe out the control repo entirely and start new from a linux host.

Once I added the shebang to the ruby scripts, and pushed from windows git location, the bits were back to normal.

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