1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # daniel.smith@ericsson.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 class opnfv::odl_docker
12 case $::fuel_settings['role'] {
16 ensure => "directory",
20 ensure => "directory",
26 file { "/opt/opnfv/odl":
27 ensure => "directory",
30 file { "/opt/opnfv/odl/odl_docker_image.tar":
32 source => "/etc/puppet/modules/opnfv/odl_docker/odl_docker_image.tar",
36 file { "/opt/opnfv/odl/docker-latest":
38 source => "/etc/puppet/modules/opnfv/odl_docker/docker-latest",
42 file { "/opt/opnfv/odl/start_odl_conatiner.sh":
44 source => "/etc/puppet/modules/opnfv/scripts/start_odl_container.sh",