Only set up apt repos on Debian
This commit is the first in a series that aims to add Fedora support to my existing openstack example file.
This commit is contained in:
parent
067fdb49c7
commit
f665a84837
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue