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

Change sql_schema_location if using git #28

Closed
wants to merge 1 commit into from

Commits on Feb 10, 2016

  1. Change sql_schema_location if using git

    The git clone does not create the docs folder, so this fails:
    
    ```
    /Stage[main]/Icingaweb2::Initialize/Exec[create db scheme]/returns: sh: /usr/share/doc/icingaweb2/schema/mysql.schema.sql: No such file or directory
    ==> default: Error: mysql --defaults-file='/root/.my.cnf' icingaweb2 < /usr/share/doc/icingaweb2/schema/mysql.schema.sql returned 1 instead of one of [0]
    ```
    
    This checks if the user is using the git installation method, then changes to the location of the correct schema.
    petems committed Feb 10, 2016
    Configuration menu
    Copy the full SHA
    a0d0970 View commit details
    Browse the repository at this point in the history