jlambert121 / jlambert121-puppet

Puppet module to manage puppet and puppetserver (java)
Apache License 2.0
5 stars 23 forks source link

puppetserver.config.erb file missing USER and GROUP #47

Closed MAXxATTAXx closed 8 years ago

MAXxATTAXx commented 8 years ago

Currently i'm running this class on a Centos 6 machine with the following configuration:

class { '::puppet':
  server         => true,
  server_version => latest,
  dns_alt_names  => [
    'puppet',
  ],
  puppetdb_server => 'puppet.example.com',
  manage_puppetdb => false,
  manage_hiera    => false,
  firewall        => true,
  runmode         => service,
}

Whenever i try to do a "service puppetserver restart" i get the following error:

Error: Could not start Service[puppetserver]: Execution of '/sbin/service puppetserver start' returned 1: Starting puppetserver: runuser: unrecognized option '--pidfile'

I have already seen this issue before and it seems to be that the /etc/sysconfig/puppetserver file is missing USER and GROUP configuration. It is being overwritten by the template on this module.

is this expected behaviour? am i missing where to configure this?