Issue #19323 has been updated by Matthaus Owens.
Released in Puppet 3.2.0-rc1 ---------------------------------------- Refactor #19323: [systemd] Adding a way to specify command line parameters https://projects.puppetlabs.com/issues/19323#change-89569 * Author: Vaidas Jablonskis * Status: Closed * Priority: Normal * Assignee: * Category: service * Target version: 3.2.0 * Affected Puppet version: 3.0.0 * Keywords: systemd, options, service, agent, master * Branch: https://github.com/puppetlabs/puppet/pull/1487 ---------------------------------------- This patch adds a way to easily specify extra command line options for both puppetagent and puppetmaster services when starting them with systemd. It also removes ExecPre command as the directory creation is now handled by the RPM install, so it's pointless to have systemd do that as well. Previously there was no way to pass in valid puppet agent/master command line parameters like '--config=/etc/puppet/puppetmaster.conf', etc. A lot of people use separate config files for the agent and the master services. To make it somewhat consistent I added a systemd supported way to read environment variables from a file '/etc/sysconfig/<servicename>', so people who use extra cmd line options already will be able to do that with systemd as well. When services are started by systemd, systemd will read the files which contain the below variables and will pass their values when starting puppet services (I used the same variable names as it's been used in redhat-like distros already): `PUPPET_EXTRA_OPTS` in `/etc/sysconfig/puppetagent` `PUPPETMASTER_EXTRA_OPTS` in `/etc/sysconfig/puppetmaster` -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
