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

Added 'env' and 'passenv' service parameters #34

Closed
wants to merge 3 commits into from
Closed

Added 'env' and 'passenv' service parameters #34

wants to merge 3 commits into from

Conversation

vchepkov
Copy link
Contributor

These parameters are required for such services as 'cvspserver'

From xinetd.conf manual:

      env              The  value of this attribute is a list of strings of the form ’name=value’.  These strings will be added to the environment before starting a server (therefore the server’s environment will include xinetd’s environment plus the specified strings).

       passenv          The value of this attribute is a list of environment variables from xinetd’s environment that will be passed to the server.  An empty list implies passing  no  variables  to  the server  except  for those explicitly defined using the env attribute.  (notice that you can use this attribute in conjunction with the env attribute to specify exactly what environment will be passed to the server).

from man xinetd.conf:

       env              The  value of this attribute is a list of strings of the form ’name=value’.  These strings will be added to the environment before starting a server (therefore the server’s envi-
                        ronment will include xinetd’s environment plus the specified strings).

       passenv          The value of this attribute is a list of environment variables from xinetd’s environment that will be passed to the server.  An empty list implies passing  no  variables  to  the
                        server  except  for those explicitly defined using the env attribute.  (notice that you can use this attribute in conjunction with the env attribute to specify exactly what envi-
                        ronment will be passed to the server).
from man xinetd.conf:

       env              The  value of this attribute is a list of strings of the form ’name=value’.  These strings will be added to the environment before starting a server (therefore the server’s envi-
                        ronment will include xinetd’s environment plus the specified strings).

       passenv          The value of this attribute is a list of environment variables from xinetd’s environment that will be passed to the server.  An empty list implies passing  no  variables  to  the
                        server  except  for those explicitly defined using the env attribute.  (notice that you can use this attribute in conjunction with the env attribute to specify exactly what envi-
                        ronment will be passed to the server).
@underscorgan
Copy link
Contributor

Could you add some tests and documentation for the new parameters?

Also, you'll need to rebase.

Thanks!

Conflicts:
	manifests/service.pp
@underscorgan
Copy link
Contributor

@vchepkov ping?

@vchepkov
Copy link
Contributor Author

I afraid I don't really know how to write tests, sorry. I know the code works though, I have been using it from my fork for almost a year now.

@vchepkov vchepkov closed this Jan 21, 2015
@vchepkov vchepkov reopened this Jan 21, 2015
underscorgan pushed a commit to underscorgan/puppetlabs-xinetd that referenced this pull request Apr 6, 2015
underscorgan pushed a commit to underscorgan/puppetlabs-xinetd that referenced this pull request Apr 6, 2015
underscorgan pushed a commit to underscorgan/puppetlabs-xinetd that referenced this pull request Apr 6, 2015
underscorgan pushed a commit to underscorgan/puppetlabs-xinetd that referenced this pull request Apr 6, 2015
underscorgan pushed a commit to underscorgan/puppetlabs-xinetd that referenced this pull request Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants