diff options
Diffstat (limited to 'fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-primary-controller.pp')
-rw-r--r-- | fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-primary-controller.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-primary-controller.pp b/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-primary-controller.pp new file mode 100644 index 0000000..fd98120 --- /dev/null +++ b/fuel-plugin-ovsnfv/deployment_scripts/puppet/manifests/ovs-install-ovsnfv-primary-controller.pp @@ -0,0 +1,16 @@ +$fuel_settings = parseyaml(file('/etc/astute.yaml')) +$master_ip = $::fuel_settings['master_ip'] + +$adminrc_access = $::fuel_settings['access'] +$adminrc_user = $adminrc_access['user'] +$adminrc_password = $adminrc_access['password'] +$adminrc_tenant = $adminrc_access['tenant'] +$adminrc_public_ssl = $::fuel_settings['public_ssl'] +$adminrc_hostname = $adminrc_public_ssl['hostname'] + +if $operatingsystem == 'Ubuntu' { + class { '::ovsdpdk': + controller => 'True', + } +} elsif $operatingsystem == 'CentOS' { +} |