Update directory structure & allow to configure paths (tmp, log, cache)

This commit is contained in:
Nicolas Le Goff
2014-09-05 11:28:25 +02:00
parent 69fd50906f
commit de7988689e
2201 changed files with 850 additions and 13650 deletions

View File

@@ -0,0 +1,32 @@
sqlite
======
Author: Carl Caum <carl@puppetlabs.com>
Copyright (c) 2011, Puppet Labs Inc.
ABOUT
=====
This module manages [sqlite](http://www.sqlite.org). Through declarion of the `sqlite` class, sqlite will be installed on the system.
The `sqlite::db` defined type allows for the management of a sqlite database on the node
CONFIGURATION
=============
The main class (sqlite) only needs to be declared. No class parameters or top scope variables are needed.
The `sqlite::db` defined type can be used to manage a sqlite database on the system.
The following parameters are available for the resources declaration:
location What directory the database should go in. The presence of the directory must be managed separately of the defined type.
owner The owner of the sqlite database file on disk
group The group owning the sqlite database file on disk
mode The mode of the sqlite database file on disk
ensure Whether the database should be `present` or `absent`. Default to `present`
sqlite_cmd The sqlite command for the node's platform. Defaults to `sqlite3`
TODO
====
* Allow for sql commands to be based to sqlite::db for use during creation