Issue #19309 has been updated by Vaidas Jablonskis.

Link to my pull request with changes:

https://github.com/puppetlabs/puppet/pull/1482
----------------------------------------
Feature #19309: Custom command line options with systemd
https://projects.puppetlabs.com/issues/19309#change-83380

Author: Vaidas Jablonskis
Status: Unreviewed
Priority: Normal
Assignee: 
Category: ext
Target version: 3.x
Affected Puppet version: 3.0.0
Keywords: puppet, agent, master, systemd, variables
Branch: 


Puppet agent and master systemd service unit files do not include 
`/etc/sysconfig/<service_name>` files.

There is no easy way to specify custom command line options when starting a 
service anymore. RedHat family distros init scripts usually read environment 
variables from `/etc/sysconfig/<service_name>` files and start puppet services 
accordingly, so I would like to retain this functionality moving forward to 
systemd-based distros as well, since systemd supports that.

I would say that we should allow the following environment variables to be 
specified:

`/etc/sysconfig/puppetmaster`
<pre>PUPPETMASTER_EXTRA_OPTS</pre>

`/etc/sysconfig/puppetagent`
<pre>PUPPET_EXTRA_OPTS</pre>

They would allow us to use puppet valid command line parameters, such as 
`--environment=`, `--server=`, `--config=`, etc.

I will post a link to the pull request with my proposed changes.


-- 
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.


Reply via email to