summaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-06-15 18:08:16 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-06-15 18:09:40 -0700
commit1ca39e1362e916059fc4ef6227e16b33d0dfd3df (patch)
tree496a938cad1b32f00755a12d66728d43f5c60784 /src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp
parentddaccb38f85dba6bec1fcd79b0b4cce45d92192e (diff)
cleanup: remove fuel-plugin since fuel@opnfv use mccp
Change-Id: I42d9a9a187f7a709d44db36bb820087f726112bf Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp')
-rw-r--r--src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp b/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp
deleted file mode 100644
index 8c52fad..0000000
--- a/src/fuel-plugin/deployment_scripts/puppet/manifests/k8s-master-install.pp
+++ /dev/null
@@ -1,22 +0,0 @@
-notice('MODULAR: k8s-master-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)
-
-$network_scheme = hiera_hash('network_scheme')
-$service_cidr = $network_scheme['endpoints']['br-mgmt']['IP']
-
-$k8s_settings = hiera_hash('fuel-plugin-k8s')
-$pod_network = $k8s_settings['pod_network']
-$pod_network_cidr = $k8s_settings['pod_network_cidr']
-
-if $operatingsystem == 'Ubuntu' {
- exec { 'install k8s master':
- command => "/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' {
-}