system-config/modules/puppetboot/manifests/init.pp
Jeremy Stanley f82f2fd6ac 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
2013-06-26 13:57:41 +00:00

14 lines
335 B
Puppet

# == Class: puppetboot
#
class puppetboot($ensure=present) {
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',
}
}
}