Skip to content
This repository has been archived by the owner on Aug 4, 2018. It is now read-only.

Commit

Permalink
prune postgres clustering, pgpool, glusterfs
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Jun 11, 2016
1 parent cf3c0fa commit 0a64cda
Show file tree
Hide file tree
Showing 38 changed files with 0 additions and 1,458 deletions.
104 changes: 0 additions & 104 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,108 +110,4 @@ Vagrant.configure("2") do |config|
end
end

if ENV['VAGRANT_POSTGRES_CLUSTER'] == '1'

config.vm.define "pg_primary" do |pg_primary|
pg_primary.vm.network "private_network", ip: "192.168.57.5"
pg_primary.vm.network "private_network", ip: "172.16.57.5"

pg_primary.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/pg_cluster/primary"
s.run_highstate = true
end
end

config.vm.define "pg_standby_0" do |pg_standby_0|
pg_standby_0.vm.network "private_network", ip: "192.168.57.6"
pg_standby_0.vm.network "private_network", ip: "172.16.57.6"

pg_standby_0.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/pg_cluster/standby_0"
s.run_highstate = true
end
end

config.vm.define "pgpool_0" do |pgpool_0|
pgpool_0.vm.network "private_network", ip: "192.168.57.7"
pgpool_0.vm.network "private_network", ip: "172.16.57.7"

pgpool_0.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/pg_cluster/pgpool_0"
s.run_highstate = true
end
end

config.vm.define "pgpool_1" do |pgpool_1|
pgpool_1.vm.network "private_network", ip: "192.168.57.8"
pgpool_1.vm.network "private_network", ip: "172.16.57.8"

pgpool_1.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/pg_cluster/pgpool_1"
s.run_highstate = true
end
end

end

if ENV['VAGRANT_GLUSTER'] == '1'

config.vm.define "gluster_0" do |gluster_0|
gluster_0.vm.network "private_network", ip: "192.168.57.30"
gluster_0.vm.network "private_network", ip: "172.16.57.30"

gluster_0.vm.provider :virtualbox do |vm|
file_to_disk = '.vagrant/tmp/gluster_0.vdi'
vm.customize ['createhd', '--filename', file_to_disk, '--size', 10 * 1024]
vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end

gluster_0.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/gluster_cluster/node"
s.run_highstate = true
end
end

config.vm.define "gluster_1" do |gluster_1|
gluster_1.vm.network "private_network", ip: "192.168.57.31"
gluster_1.vm.network "private_network", ip: "172.16.57.31"

gluster_1.vm.provider :virtualbox do |vm|
file_to_disk = '.vagrant/tmp/gluster_1.vdi'
vm.customize ['createhd', '--filename', file_to_disk, '--size', 10 * 1024]
vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end

gluster_1.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/gluster_cluster/node"
s.run_highstate = true
end
end

config.vm.define "gluster_client" do |gluster_client|
gluster_client.vm.network "private_network", ip: "192.168.57.39"
gluster_client.vm.network "private_network", ip: "172.16.57.39"

gluster_client.vm.provision :salt do |s|
s.verbose = true
s.install_type = "git v0.17.2"
s.minion_config = "provisioning/salt/minion/gluster_cluster/client"
s.run_highstate = true
end
end

end

end
7 changes: 0 additions & 7 deletions provisioning/salt/minion/gluster_cluster/client

This file was deleted.

7 changes: 0 additions & 7 deletions provisioning/salt/minion/gluster_cluster/node

This file was deleted.

9 changes: 0 additions & 9 deletions provisioning/salt/minion/pg_cluster/pgpool_0

This file was deleted.

8 changes: 0 additions & 8 deletions provisioning/salt/minion/pg_cluster/pgpool_1

This file was deleted.

9 changes: 0 additions & 9 deletions provisioning/salt/minion/pg_cluster/primary

This file was deleted.

9 changes: 0 additions & 9 deletions provisioning/salt/minion/pg_cluster/standby_0

This file was deleted.

10 changes: 0 additions & 10 deletions provisioning/salt/roots/pillar/backup/server.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ backup-server:
volumes:
/dev/sdb: /backup
backups:
postgres-archives:
directory: /backup/postgres/archives
user: postgres
increment_retention: 10m
authorized_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxqABhu46JE5zT68uNwpBdmqI/eYfepfA9PU8AxbGR96u5rPd8xyKJ2ZzTUgjrCKWLim4jutFgAtfCwkfjm/FrHQWNJZhZtQ1gT8a/bpIjHddjOFlELja1vFKkQsU6dsmYGTZxwByeMQl1+TWE5xmGrmqsgNnK+Twi01TCUmYs36M8OQGXle664XAapfc+4cAU4Clf3mH7xFIBJnCS12v5ES1J4pmnfBVMT85lGJMDW/vDI5Yx2A85bKOCwle1XpGsxLLfvvg7faNiCBjpj//pSEAI52tSq0hLtYSS5WJBz1tfJQPECCXVxa6LHKJB6RDT3eYyMQSugFSCrHxQ8j/F
postgres-base:
directory: /backup/postgres/base
user: postgres
increment_retention: 10m
authorized_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxqABhu46JE5zT68uNwpBdmqI/eYfepfA9PU8AxbGR96u5rPd8xyKJ2ZzTUgjrCKWLim4jutFgAtfCwkfjm/FrHQWNJZhZtQ1gT8a/bpIjHddjOFlELja1vFKkQsU6dsmYGTZxwByeMQl1+TWE5xmGrmqsgNnK+Twi01TCUmYs36M8OQGXle664XAapfc+4cAU4Clf3mH7xFIBJnCS12v5ES1J4pmnfBVMT85lGJMDW/vDI5Yx2A85bKOCwle1XpGsxLLfvvg7faNiCBjpj//pSEAI52tSq0hLtYSS5WJBz1tfJQPECCXVxa6LHKJB6RDT3eYyMQSugFSCrHxQ8j/F
devpypi-files:
directory: /backup/devpypi/files
user: devpypi
Expand Down
37 changes: 0 additions & 37 deletions provisioning/salt/roots/pillar/glusterfs/server.sls

This file was deleted.

23 changes: 0 additions & 23 deletions provisioning/salt/roots/pillar/postgresql/cluster.sls

This file was deleted.

23 changes: 0 additions & 23 deletions provisioning/salt/roots/pillar/postgresql/pgpool.sls

This file was deleted.

76 changes: 0 additions & 76 deletions provisioning/salt/roots/pillar/secrets/backup/postgres.sls

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions provisioning/salt/roots/pillar/secrets/postgresql.sls

This file was deleted.

Loading

0 comments on commit 0a64cda

Please sign in to comment.