├── examples ├── puppet │ ├── manifests │ │ └── site.pp │ ├── modules │ │ ├── online-migration │ │ │ ├── files │ │ │ │ └── world │ │ │ │ │ ├── 0000-up.meta │ │ │ │ │ ├── 0000-up.mig │ │ │ │ │ ├── 0001-down.mig │ │ │ │ │ ├── 0001-up.meta │ │ │ │ │ └── 0001-up.mig │ │ │ ├── lib │ │ │ │ └── puppet │ │ │ │ │ ├── provider │ │ │ │ │ └── mysql_schema │ │ │ │ │ │ └── mysql_schema.rb │ │ │ │ │ └── type │ │ │ │ │ └── mysql_schema.rb │ │ │ └── manifests │ │ │ │ └── init.pp │ │ └── percona │ │ │ ├── manifests │ │ │ ├── repository.pp │ │ │ ├── server.pp │ │ │ ├── server │ │ │ │ ├── config.pp │ │ │ │ ├── packages.pp │ │ │ │ └── service.pp │ │ │ ├── toolkit.pp │ │ │ └── xtrabackup.pp │ │ │ └── templates │ │ │ ├── cluster │ │ │ └── my.cnf.erb │ │ │ └── server │ │ │ └── my.cnf.erb │ └── readme.rst ├── readme.rst ├── world_data.sql ├── world_structure.sql ├── world_v2.sql └── world_v3.sql ├── gpl-2.0.txt ├── online-migration.py ├── patches └── sql_transform_no_cardinality.patch ├── puppet └── modules │ └── online-migration │ └── lib │ └── puppet │ ├── provider │ └── mysql_schema │ │ └── mysql_schema.rb │ └── type │ └── mysql_schema.rb └── readme.rst /examples/puppet/manifests/site.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/manifests/site.pp -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/files/world/0000-up.meta: -------------------------------------------------------------------------------- 1 | 0 2 | d41d8cd98f00b204e9800998ecf8427e 3 | Initial file 4 | -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/files/world/0000-up.mig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/files/world/0000-up.mig -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/files/world/0001-down.mig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/files/world/0001-down.mig -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/files/world/0001-up.meta: -------------------------------------------------------------------------------- 1 | 1 2 | 3239e7245d98d27681020e36d0085676 3 | first step 4 | -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/files/world/0001-up.mig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/files/world/0001-up.mig -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/lib/puppet/provider/mysql_schema/mysql_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/lib/puppet/provider/mysql_schema/mysql_schema.rb -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/lib/puppet/type/mysql_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/lib/puppet/type/mysql_schema.rb -------------------------------------------------------------------------------- /examples/puppet/modules/online-migration/manifests/init.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/online-migration/manifests/init.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/repository.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/repository.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/server.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/server.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/server/config.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/server/config.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/server/packages.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/server/packages.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/server/service.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/server/service.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/toolkit.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/toolkit.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/manifests/xtrabackup.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/manifests/xtrabackup.pp -------------------------------------------------------------------------------- /examples/puppet/modules/percona/templates/cluster/my.cnf.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/templates/cluster/my.cnf.erb -------------------------------------------------------------------------------- /examples/puppet/modules/percona/templates/server/my.cnf.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/modules/percona/templates/server/my.cnf.erb -------------------------------------------------------------------------------- /examples/puppet/readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/puppet/readme.rst -------------------------------------------------------------------------------- /examples/readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/readme.rst -------------------------------------------------------------------------------- /examples/world_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/world_data.sql -------------------------------------------------------------------------------- /examples/world_structure.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/world_structure.sql -------------------------------------------------------------------------------- /examples/world_v2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/examples/world_v2.sql -------------------------------------------------------------------------------- /examples/world_v3.sql: -------------------------------------------------------------------------------- 1 | alter table City 2 | add nice tinyint default 1; 3 | -------------------------------------------------------------------------------- /gpl-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/gpl-2.0.txt -------------------------------------------------------------------------------- /online-migration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/online-migration.py -------------------------------------------------------------------------------- /patches/sql_transform_no_cardinality.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/patches/sql_transform_no_cardinality.patch -------------------------------------------------------------------------------- /puppet/modules/online-migration/lib/puppet/provider/mysql_schema/mysql_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/puppet/modules/online-migration/lib/puppet/provider/mysql_schema/mysql_schema.rb -------------------------------------------------------------------------------- /puppet/modules/online-migration/lib/puppet/type/mysql_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/puppet/modules/online-migration/lib/puppet/type/mysql_schema.rb -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lefred/online-migration/HEAD/readme.rst --------------------------------------------------------------------------------