Skip to content

Commit

Permalink
organize scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeda committed Nov 6, 2016
1 parent 6067bc0 commit e495ce1
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions master.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// This script will install docker, the kubelet and configure networking on the
// node.
data "template_file" "prereq-master" {
template = "${file("scripts/prereq.sh")}"
template = "${file("tf-scripts/prereq.sh")}"

vars {
bridge-cidr = "${module.subnets.master_container_cidr}"
Expand All @@ -28,7 +28,7 @@ data "template_file" "prereq-master" {

// This script will install Kubernetes on the master.
data "template_file" "master" {
template = "${file("scripts/master.sh")}"
template = "${file("tf-scripts/master.sh")}"

vars {
token = "${var.bootstrap_token}"
Expand Down
2 changes: 1 addition & 1 deletion network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ resource "google_compute_firewall" "firewall-ssh" {
// needs to know the overall CIDR so it can make sure that traffic not on that
// network gets NATd as it exits GCE.
data "template_file" "iptables" {
template = "${file("scripts/set-iptables.sh")}"
template = "${file("tf-scripts/set-iptables.sh")}"

vars {
cidr = "${var.cidr}"
Expand Down
4 changes: 2 additions & 2 deletions nodes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// node.
data "template_file" "prereq-node" {
count = "${var.num-nodes}"
template = "${file("scripts/prereq.sh")}"
template = "${file("tf-scripts/prereq.sh")}"

vars {
bridge-cidr = "${element(module.subnets.node_container_cidrs, count.index)}"
Expand All @@ -30,7 +30,7 @@ data "template_file" "prereq-node" {
// This script will have the node join the master. It verifies itself with the
// token.
data "template_file" "node" {
template = "${file("scripts/node.sh")}"
template = "${file("tf-scripts/node.sh")}"

vars {
token = "${var.bootstrap_token}"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e495ce1

Please sign in to comment.