puppetlabs_mysql fails to import two sql scripts given as an array to the db class

6 views
Skip to first unread message

Gideon Maina

unread,
Sep 20, 2014, 3:50:12 AM9/20/14
to puppet...@googlegroups.com

This is so good but I would like to ask if the sql parameter to import sql scripts can receive an array as argument that is get two .sql file or more and still execute successfully, have tried to give it an array but it joins everything to one so that

      mysql::db{...
        sql => ["/tmp/1.sql","/tmp/2.sql",]
        ....
       }

it assumes the above to be

           /tmp/1.sql/tmp/2.sql

which  is not possible .... is there a way for the puppetlabs mysql module to have two sql scripts imported at a go

Reply all
Reply to author
Forward
0 new messages