summaryrefslogtreecommitdiffstats
path: root/manifests/variables.pp
diff options
context:
space:
mode:
authorDon Brewer <dbrewer@redhat.com>2008-03-27 14:46:11 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2008-04-15 10:35:27 -0400
commit28544868b29c412418436e9924f301ac210c6236 (patch)
treed532981099eaabfe981140a9a44caf8228d5f897 /manifests/variables.pp
parent683a88cb1d13da5732a37beca449c44da3c02a97 (diff)
downloadpuppet-mysql-28544868b29c412418436e9924f301ac210c6236.tar.gz
puppet-mysql-28544868b29c412418436e9924f301ac210c6236.tar.xz
puppet-mysql-28544868b29c412418436e9924f301ac210c6236.zip
Adding support for standalone, master and slave mysql instances
* Adding config file for UTF8 encoding * A fact called 'mysql_type' needs to be laid down on all mysql nodes. This should just be 'standalone' for now. * This module now requires the passwords module * Added ip variable to slave for master 2 * include passwords class and passwords.pp Brenton: * turned off resource collectiong since it broke us needlessly. * Added a definition for creating datasources. User's of this definition should not have to worry about what type of mysql (master,slave,etc) is running.
Diffstat (limited to 'manifests/variables.pp')
-rw-r--r--manifests/variables.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/variables.pp b/manifests/variables.pp
new file mode 100644
index 0000000..5efc726
--- /dev/null
+++ b/manifests/variables.pp
@@ -0,0 +1,13 @@
+class variables {
+ $mysql_root_user = "root"
+ $mysql_root_database = "mysql"
+ $mysql_root_local_host = "localhost"
+ $mysql_global_host = "%"
+
+ # Replication MySQL User
+ $mysql_replication_user = "replication"
+
+ # Replication MySQL Server ID's
+ $mysql_master_server_id ="1"
+ $mysql_slave_server_id ="2"
+}