diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-06-22 08:47:04 -0700 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-06-22 08:47:21 -0700 |
commit | 10e9106094d2989909eaa0015a45574137b7776c (patch) | |
tree | 8a9f3163b91a7e761497680c03fd42dabacfb009 /fuel-plugin/deployment_scripts | |
parent | 465249b61b72d33fe1fad8d43da332faef22bec0 (diff) |
cleanup: remove fuel plugin since fuel@opnfv uses mcp
Change-Id: I5e0687008c53ee03973da5a3b58880b9b7c7de1c
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/deployment_scripts')
-rw-r--r-- | fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp | 45 | ||||
-rw-r--r-- | fuel-plugin/deployment_scripts/puppet/modules/.gitkeep | 0 |
2 files changed, 0 insertions, 45 deletions
diff --git a/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp b/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp deleted file mode 100644 index 5f14f1a9f..000000000 --- a/fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp +++ /dev/null @@ -1,45 +0,0 @@ -$kvm_settings = hiera('fuel-plugin-kvm') - -case $::operatingsystem { - 'Ubuntu': { - $version = '4.4.50-rt62nfv' - $kernel_kit = ["linux-headers-${version}", "linux-image-${version}"] - $kernel_src = "/usr/src/linux-headers-${version}" - $kernel_src_link = "/lib/modules/${version}/build" - - shellvar { 'GRUB_DEFAULT': - ensure => present, - target => '/etc/default/grub', - value => "Advanced options for Ubuntu>Ubuntu, with Linux ${version}", - quoted => 'double', - notify => Exec['update_grub'], - } - } - default: { - fail("Unsupported operating system: ${::osfamily}/${::operatingsystem}") - } - -} - -if $kvm_settings['use_kvm'] { - $ensure_pkg = '1.0.OPNFV' - $ensure_link = 'link' -} else { - $ensure_pkg = 'purged' - $ensure_link = 'absent' -} - -exec { 'update_grub': - command => '/usr/sbin/update-grub', - refreshonly => true, -} - -package { $kernel_kit: - ensure => $ensure_pkg, - before => File[$kernel_src_link], -} - -file { $kernel_src_link: - ensure => $ensure_link, - target => $kernel_src, -} diff --git a/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep b/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep deleted file mode 100644 index e69de29bb..000000000 --- a/fuel-plugin/deployment_scripts/puppet/modules/.gitkeep +++ /dev/null |