Skip to content

Instantly share code, notes, and snippets.

@Stubbs
Created February 21, 2013 13:52
Show Gist options
  • Save Stubbs/5004858 to your computer and use it in GitHub Desktop.
Save Stubbs/5004858 to your computer and use it in GitHub Desktop.
Can you use wild cards in Puppet exec?
exec {"load-crm-fixtures":
command => "mysql -u db_user -ppassword db_name < *.sql",
cwd => "${rootDir}/sites/${siteDirectory}/db/crm/fixtures/",
path => ['/usr/bin'],
require => Exec['clean-crm-db'],
logoutput => true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment