Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MAXxATTAXx opened this issue Feb 16, 2016 · 0 comments
Closed

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

MAXxATTAXx opened this issue Feb 16, 2016 · 0 comments

Comments

@MAXxATTAXx
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant