Only setup ppas when osfamily is Debian
This commit is contained in:
parent
d160633e4d
commit
5e9491c39e
|
@ -4,15 +4,17 @@
|
|||
|
||||
Exec { logoutput => 'on_failure' }
|
||||
|
||||
stage { 'keystone_ppa':
|
||||
if($::osfamily == 'Debian') {
|
||||
stage { 'keystone_ppa':
|
||||
before => Stage['main'],
|
||||
}
|
||||
}
|
||||
|
||||
class { 'apt':
|
||||
class { 'apt':
|
||||
stage => 'keystone_ppa',
|
||||
}
|
||||
class { 'keystone::repo::trunk':
|
||||
}
|
||||
class { 'keystone::repo::trunk':
|
||||
stage => 'keystone_ppa',
|
||||
}
|
||||
}
|
||||
|
||||
# example of how to build a single node
|
||||
|
|
Loading…
Reference in New Issue