Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hiera array merge sorting commands #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 1, 2016

  1. Fix hiera array merge sorting commands

    Hiera deep merge sorts the command array causing issues if the "ALL" keyword is at the end of the line when we have disallowed commands.
    commands"=>["/usr/bin/puppet", "/bin/puppet", "!SHELLS", "!SU", "ALL"]
    In this case SHELLS and SU will not be disallowed...
    Also making sure the disallowed commands are at the end.
    
    I'm not a ruby programmer, if you feel this code can be improve feel free to do so.
    jsfrerot committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    0e8ee6f View commit details
    Browse the repository at this point in the history