diff options
author | Jonas Bjurel <jonas.bjurel@ericsson.com> | 2016-09-20 14:21:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-20 14:21:46 +0000 |
commit | 4d3783e1afadf7c23a6a96624170906c4cf90f0d (patch) | |
tree | e06cd806026905bb753849d32b50c9aac8cb5f24 /build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp | |
parent | f9326c161e2e8ed039499d30cced7c2553874e26 (diff) | |
parent | e8d748cd655937bed234fc02f2f8e3406d96f4dc (diff) |
Merge "Repo tidy-up + licence scrubing" into stable/colorado
Diffstat (limited to 'build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp')
-rw-r--r-- | build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp b/build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp deleted file mode 100644 index 22fe78171..000000000 --- a/build/f_example_control_bond/puppet/modules/opnfv/manifests/control-bond.pp +++ /dev/null @@ -1,56 +0,0 @@ -############################################################################## -# Copyright (c) 2015 Ericsson AB and others. -# stefan.k.berg@ericsson.com -# jonas.bjurel@ericsson.com -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -# Class: opnfv::control-bond -# -# Bridge control and management networks together using OVS. -# -# - -class opnfv::control-bond { - notify { '*** In Opnfv::control-bond-start ***': } - - file { "/etc/init.d/control-bond": - source => "puppet:///modules/opnfv/control-bond", - owner => 'root', - group => 'root', - mode => '0755', - notify => Service["control-bond"] - } - - - service { "control-bond": - ensure => running, - require => [ File["/etc/init.d/control-bond"], Service["openvswitch-service"] ], - } - - # Only start scripts - we don't want to bring down - # bridge during shutdown - - file { "/etc/rc2.d/S18control-bond": - ensure => 'link', - target => '/etc/init.d/control-bond', - } - - file { "/etc/rc3.d/S18control-bond": - ensure => 'link', - target => '/etc/init.d/control-bond', - } - - file { "/etc/rc4.d/S18control-bond": - ensure => 'link', - target => '/etc/init.d/control-bond', - } - - file { "/etc/rc5.d/S18control-bond": - ensure => 'link', - target => '/etc/init.d/control-bond', - } -} |