From 1ca39e1362e916059fc4ef6227e16b33d0dfd3df Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 15 Jun 2017 18:08:16 -0700 Subject: cleanup: remove fuel-plugin since fuel@opnfv use mccp Change-Id: I42d9a9a187f7a709d44db36bb820087f726112bf Signed-off-by: Guo Ruijing --- .../deployment_scripts/k8s-master-install.sh | 25 ---------------------- .../deployment_scripts/k8s-slave-install.sh | 15 ------------- .../puppet/manifests/k8s-master-install.pp | 22 ------------------- .../puppet/manifests/k8s-slave-install.pp | 15 ------------- 4 files changed, 77 deletions(-) delete mode 100755 src/fuel-plugin/deployment_scripts/k8s-master-install.sh delete mode 100755 src/fuel-plugin/deployment_scripts/k8s-slave-install.sh delete mode 100644 src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp delete mode 100644 src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-slave-install.pp (limited to 'src/fuel-plugin/deployment_scripts') diff --git a/src/fuel-plugin/deployment_scripts/k8s-master-install.sh b/src/fuel-plugin/deployment_scripts/k8s-master-install.sh deleted file mode 100755 index 6d05ede..0000000 --- a/src/fuel-plugin/deployment_scripts/k8s-master-install.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -set -eux - -api_advertise_address=$1 -service_cidr=$2 -pod_network=$3 -pod_network_cidr=$4 -token='8c5adc.1cec8dbf339093f0' - -curl -s http://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - -cat < "/etc/fuel/plugins/fuel-plugin-k8s-1.0/k8s-master-install.sh $k8s_mgmt_ips $service_cidr $pod_network $pod_network_cidr", - path => '/usr/bin:/usr/sbin:/bin:/sbin', - } -} elsif $operatingsystem == 'CentOS' { -} diff --git a/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-slave-install.pp b/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-slave-install.pp deleted file mode 100644 index 4e4863b..0000000 --- a/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-slave-install.pp +++ /dev/null @@ -1,15 +0,0 @@ -notice('MODULAR: k8s-slave-install') -# get options - -$network_metadata = hiera_hash('network_metadata') -$k8s_nodes_hash = get_nodes_hash_by_roles($network_metadata, ['k8s-master']) -$k8s_mgmt_ips_hash = get_node_to_ipaddr_map_by_network_role($k8s_nodes_hash, 'management') -$k8s_mgmt_ips = values($k8s_mgmt_ips_hash) - -if $operatingsystem == 'Ubuntu' { - exec { 'install k8s slave': - command => "/etc/fuel/plugins/fuel-plugin-k8s-1.0/k8s-slave-install.sh $k8s_mgmt_ips", - path => '/usr/bin:/usr/sbin:/bin:/sbin', - } -} elsif $operatingsystem == 'CentOS' { -} -- cgit 1.2.3-korg