/etc/sysconfig/puppetserver git source?

20 views
Skip to first unread message

Christopher Wood

unread,
Jan 3, 2018, 12:56:05 PM1/3/18
to puppet...@googlegroups.com
Is the source for /etc/sysconfig/puppetserver in the puppetserver rpm stored in any public-facing git repository? If so, where?

More details:

I was reading the tuning guide (it's augment time again) and it occurred to me to read the commit messages for this file to see how Puppet figured out the defaults. That information may inform my own configurations.

https://puppet.com/docs/puppetserver/5.1/tuning_guide.html

I'm not actually a programmer, and couldn't find this file or obvious source code in the puppetserver git repository if it is there. (Hints welcome too!)

https://github.com/puppetlabs/puppetserver

Running puppetserver 5.1.4 here.

Morgan Rhodes

unread,
Jan 3, 2018, 1:38:24 PM1/3/18
to puppet...@googlegroups.com
Hi Christopher,

That file is generated during packaging and is generated from a template in the ezbake project. https://github.com/puppetlabs/ezbake/blob/master/resources/puppetlabs/lein-ezbake/template/foss/ext/default.erb

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20180103175542.2jt55rzf3hz3tpkp%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.
--
Morgan Rhodes
Release Engineer

Christopher Wood

unread,
Jan 3, 2018, 3:10:15 PM1/3/18
to puppet...@googlegroups.com
That turned out to be even more interesting, thank you!

On Wed, Jan 03, 2018 at 06:38:02PM +0000, Morgan Rhodes wrote:
> Hi Christopher,
> That file is generated during packaging and is generated from a template
> in the ezbake
> project. [1]https://github.com/puppetlabs/ezbake/blob/master/resources/puppetlabs/lein-ezbake/template/foss/ext/default.erb
> On Wed, Jan 3, 2018 at 9:56 AM Christopher Wood
> <[2]christop...@pobox.com> wrote:
>
> Is the source for /etc/sysconfig/puppetserver in the puppetserver rpm
> stored in any public-facing git repository? If so, where?
>
> More details:
>
> I was reading the tuning guide (it's augment time again) and it occurred
> to me to read the commit messages for this file to see how Puppet
> figured out the defaults. That information may inform my own
> configurations.
>
> [3]https://puppet.com/docs/puppetserver/5.1/tuning_guide.html
>
> I'm not actually a programmer, and couldn't find this file or obvious
> source code in the puppetserver git repository if it is there. (Hints
> welcome too!)
>
> [4]https://github.com/puppetlabs/puppetserver
>
> Running puppetserver 5.1.4 here.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [5]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [6]https://groups.google.com/d/msgid/puppet-users/20180103175542.2jt55rzf3hz3tpkp%40iniquitous.heresiarch.ca.
> For more options, visit [7]https://groups.google.com/d/optout.
>
> --
> Morgan Rhodes
> mor...@puppet.com
> Release Engineer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [8]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [9]https://groups.google.com/d/msgid/puppet-users/CA%2BFnDv3G5WtPSh95p7KW9nraEKBZx9Fo%3DEoRFgj5PNO5OO8-Dg%40mail.gmail.com.
> For more options, visit [10]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. https://github.com/puppetlabs/ezbake/blob/master/resources/puppetlabs/lein-ezbake/template/foss/ext/default.erb
> 2. mailto:christop...@pobox.com
> 3. https://puppet.com/docs/puppetserver/5.1/tuning_guide.html
> 4. https://github.com/puppetlabs/puppetserver
> 5. mailto:puppet-users%2Bunsu...@googlegroups.com
> 6. https://groups.google.com/d/msgid/puppet-users/20180103175542.2jt55rzf3hz3tpkp%40iniquitous.heresiarch.ca
> 7. https://groups.google.com/d/optout
> 8. mailto:puppet-users...@googlegroups.com
> 9. https://groups.google.com/d/msgid/puppet-users/CA%2BFnDv3G5WtPSh95p7KW9nraEKBZx9Fo%3DEoRFgj5PNO5OO8-Dg%40mail.gmail.com?utm_medium=email&utm_source=footer
> 10. https://groups.google.com/d/optout

Matthaus Owens

unread,
Jan 3, 2018, 4:16:02 PM1/3/18
to Puppet Users
Just to add a little extra info, the template draws from several
sources, one of which is in the project.clj for puppetserver here:
https://github.com/puppetlabs/puppetserver/blob/5.1.x/project.clj#L113-L114
> To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20180103200959.f4lafrj3bqf3bzwf%40iniquitous.heresiarch.ca.

Christopher Wood

unread,
Jan 3, 2018, 5:35:00 PM1/3/18
to puppet...@googlegroups.com
Digging around there takes me to 28aee7b (SERVER-815), which appears close enough for an explanation. Quoth:

----------
This is done in hopes of counteracting some of the 'Out of Memory' JVM errors that we've been seeing when running unit/integration tests via Travis CI.
-------

https://github.com/puppetlabs/puppetserver/commit/28aee7b
https://tickets.puppetlabs.com/browse/SERVER-815

(Works for me.)
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACD%3DwAdfVhR4UHvR17uCJa-aHu1diCmv5CstK4O-%2Bz85vyKu7A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages