Merge pull request #63 from bodepd/dev

Only set up apt repos on Debian
This commit is contained in:
Dan Bode 2012-04-11 17:02:02 -07:00
commit 250bd25945
1 changed files with 14 additions and 12 deletions

View File

@ -24,19 +24,21 @@ resources { 'nova_config':
purge => true,
}
# temporarily update this to use the
# latest tested packages from precise
# eventually, these packages need to be moved
# to the openstack module
stage { 'nova_ppa':
before => Stage['main']
}
if $::osfamily == 'Debian' {
# temporarily update this to use the
# latest tested packages from precise
# eventually, these packages need to be moved
# to the openstack module
stage { 'nova_ppa':
before => Stage['main']
}
class { 'apt':
stage => 'nova_ppa',
}
class { 'keystone::repo::trunk':
stage => 'nova_ppa',
class { 'apt':
stage => 'nova_ppa',
}
class { 'keystone::repo::trunk':
stage => 'nova_ppa',
}
}
# this is a hack that I have to do b/c openstack nova