Fedora and Debian don't use Upstart files.
* modules/puppetboot/manifests/init.pp: The Upstart conf file will fail to apply on systems which lack an /etc/init directory, such as Fedora or Debian. Change-Id: Ibefe69fd30c9c7e0320705276e151472e581d878 Reviewed-on: https://review.openstack.org/34082 Reviewed-by: Dan Prince <dprince@redhat.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
eac3f5ba8b
commit
f82f2fd6ac
@ -1,11 +1,13 @@
|
||||
# == Class: puppetboot
|
||||
#
|
||||
class puppetboot($ensure=present) {
|
||||
file {'/etc/init/puppetboot.conf':
|
||||
ensure => $ensure,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
source => 'puppet:///modules/puppetboot/puppetboot.conf',
|
||||
if ($::operatingsystem in ['CentOS', 'RedHat', 'Ubuntu']) {
|
||||
file {'/etc/init/puppetboot.conf':
|
||||
ensure => $ensure,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
source => 'puppet:///modules/puppetboot/puppetboot.conf',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user