Make repo setup code Debian specific
Ensure that repo setup code is only performed when the osfamily is debian.
This commit is contained in:
parent
ffec6ab6b4
commit
52cbb6f59b
|
@ -3,15 +3,16 @@
|
|||
# to ensure that we use the latest precise packages
|
||||
Exec { logoutput => 'on_failure' }
|
||||
|
||||
stage { 'glance_ppa':
|
||||
before => Stage['main'],
|
||||
}
|
||||
|
||||
class { 'apt':
|
||||
stage => 'glance_ppa',
|
||||
}
|
||||
class { 'keystone::repo::trunk':
|
||||
stage => 'glance_ppa',
|
||||
if($::osfamily == 'Debian') {
|
||||
stage { 'glance_ppa':
|
||||
before => Stage['main'],
|
||||
}
|
||||
class { 'apt':
|
||||
stage => 'glance_ppa',
|
||||
}
|
||||
class { 'keystone::repo::trunk':
|
||||
stage => 'glance_ppa',
|
||||
}
|
||||
}
|
||||
|
||||
node glance {
|
||||
|
|
Loading…
Reference in New Issue