Add explicit topscope to operatingsystem fact

Previously a reference to $operatingsystem was
from nova::networK::bridge caused deprecation
warnings in 2.7.x.

This commit adds an explicit reference to topscope.
This commit is contained in:
Dan Bode 2012-01-24 22:06:05 -08:00
parent bfd1fa5da8
commit d822fbad5a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# bridge.pp
define nova::network::bridge ( $ip, $netmask = "255.255.255.0" )
{
case $operatingsystem {
case $::operatingsystem {
'debian', 'ubuntu': {
$context = "/files/etc/network/interfaces"