Last active
April 16, 2020 10:02
-
-
Save b4ldr/dfe27f9a0cd69914e97d592088f1c026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class sqlite { | |
file{'/usr/local/share/myschema.sql': | |
ensure => file, | |
content => file('sqlite/myschema.sql') | |
} | |
exec{'sqllite3 /path/to/db.sql < /usr/local/share/myschema.sql': | |
refreshonly => true | |
subscribe => File['/usr/local/share/myschema.sql'] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment