summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2015-06-26 09:03:36 +0000
committerJonas Bjurel <jonas.bjurel@ericsson.com>2015-06-26 10:22:56 +0000
commitb678795a66c1cab612cf548ef10a033060e3ff27 (patch)
tree04b602f8b01eca5f6cc52cecce94c04e077f624f /fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests
parent5e05469acdb8da55f8862677c7cd68d257c68501 (diff)
Revert "Adding in support for Lithium container."
since it doesnt deploy This reverts commit eb887812da568cfb4908f6ae14449b2ceaeb5bc0. Change-Id: Ia7490d86c1d91abca1f50d90f43bdf3e4917f23a
Diffstat (limited to 'fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests')
-rw-r--r--fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests/odl_lith_docker.pp81
1 files changed, 0 insertions, 81 deletions
diff --git a/fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests/odl_lith_docker.pp b/fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests/odl_lith_docker.pp
deleted file mode 100644
index e456180..0000000
--- a/fuel/build/f_lith_odl_docker/puppet/modules/opnfv/manifests/odl_lith_docker.pp
+++ /dev/null
@@ -1,81 +0,0 @@
-class opnfv::odl_lith_docker
-{
- case $::fuel_settings['role'] {
- /controller/: {
-
- file { '/opt':
- ensure => 'directory',
- }
-
- file { '/opt/opnfv':
- ensure => 'directory',
- owner => 'root',
- group => 'root',
- mode => 777,
- }
-
- file { '/opt/opnfv/odl':
- ensure => 'directory',
- }
-
- file { '/opt/opnfv/odl/lithium':
- ensure => 'directory',
- }
-
- file { '/opt/opnfv/odl/lithium/odl_docker_image.tar':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/odl_docker/Lithium_rc0/odl_docker_image.tar',
- mode => 750,
- }
-
- file { '/opt/opnfv/odl/lithium/docker-latest':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/odl_docker/Lithium_rc0/docker-latest',
- mode => 750,
- }
-
- file { '/opt/opnfv/odl/start_odl_container.sh':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/scripts/start_odl_container.sh',
- mode => 750,
- }
- file { '/opt/opnfv/odl/stage_odl.sh':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/scripts/stage_odl.sh',
- mode => 750,
- }
- file { '/opt/opnfv/odl/config_net_odl.sh':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/scripts/config_net_odl.sh',
- mode => 750,
- }
- file { '/opt/opnfv/odl/change.sh':
- ensure => present,
- source => '/etc/puppet/modules/opnfv/scripts/change.sh',
- mode => 750,
- }
-
-
- # fix failed to find the cgroup root issue
- # https://github.com/docker/docker/issues/8791
- case $::operatingsystem {
- 'ubuntu': {
- package {'cgroup-lite':
- ensure => present,
- }
-
- service {'cgroup-lite':
- ensure => running,
- enable => true,
- require => Package['cgroup-lite'],
- }
- }
- 'centos': {
- package {'docker-io':
- ensure => latest,
- }
- }
- }
- }
- }
-}