Update import 'exec' to have a valid name
Update import 'exec' to have a valid name

The $dbname variable does not exist, it appears it should be $name.
Noticed then when running puppet in test mode the name of the import resource is just "-import" - this will break things badly if more than one db is declared.

    Info: /Stage[main]/Api_server::Database/Sqlite::Db[api_client_cert]/Exec[create_api_client_cert_db]: Scheduling refresh of Exec[-import]
puppetlabs/puppetlabs-sqlite