Stephen Wallace
2013-Aug-27 06:32 UTC
[Puppet Users] Changing the PE3 console''s RAILS_RELATIVE_URL_ROOT? How to prepend a URL string?
Hi All, I''m looking to prepend a string to all (RHEL based) PE3 console URLs. I''m trying to proxy the console thru an Oracle web server (Apache under the hood), and for security we need to make all URLs easily identifiable as having originated from Puppet in the web log files. A PCI requirement I believe. So, the question is how to change https://console.puppet.net into https://mypuppetlabel/console.puppet.net....and hopefully still keep PE happy and functioning as an ENC / report processor :) Having had a dig around, by best guess would be to modify RAILS_RELATIVE_URL_ROOT which seems to be set in a few different configuration.rb files only. Doesn''t seem to be set in httpd/conf.d/*passenger* which I would have expected. Can anybody confirm that it a) is possible, and b) how to do this? Regs, Stephen -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Stephen Wallace
2013-Sep-04 10:08 UTC
[Puppet Users] Re: Changing the PE3 console''s RAILS_RELATIVE_URL_ROOT? How to prepend a URL string?
OK...my fat fingers got in the way. The need is to be able to modify https://console.puppet.net/nodes into https://console.puppet.net/MYPUPPETPREFIX/nodes, https://console.puppet.net/index.html (sorry if i got that wrong)...to https://console.puppet.net/MYPUPPETPREFIX/index.html, etc. This way, all of the URLs in the logs will have a MYPUPPETPREFIX appended to them. RAILS_RELATIVE_URL_ROOT the way to go? Any takers? Regs, Stephen On Tuesday, 27 August 2013 16:32:15 UTC+10, Stephen Wallace wrote:> > Hi All, > > I''m looking to prepend a string to all (RHEL based) PE3 console URLs. I''m > trying to proxy the console thru an Oracle web server (Apache under the > hood), and for security we need to make all URLs easily identifiable as > having originated from Puppet in the web log files. A PCI requirement I > believe. > > So, the question is how to change https://console.puppet.net into > https://mypuppetlabel/console.puppet.net....and hopefully still keep PE > happy and functioning as an ENC / report processor :) > > Having had a dig around, by best guess would be to modify > RAILS_RELATIVE_URL_ROOT which seems to be set in a few different > configuration.rb files only. Doesn''t seem to be set in > httpd/conf.d/*passenger* which I would have expected. > > Can anybody confirm that it a) is possible, and b) how to do this? > > Regs, > > Stephen >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Stephen Wallace
2013-Sep-04 10:24 UTC
[Puppet Users] Re: Changing the PE3 console''s RAILS_RELATIVE_URL_ROOT? How to prepend a URL string?
Answered kindly by Ruth in puppet-dev. :) On Tuesday, 27 August 2013 16:32:15 UTC+10, Stephen Wallace wrote:> > Hi All, > > I''m looking to prepend a string to all (RHEL based) PE3 console URLs. I''m > trying to proxy the console thru an Oracle web server (Apache under the > hood), and for security we need to make all URLs easily identifiable as > having originated from Puppet in the web log files. A PCI requirement I > believe. > > So, the question is how to change https://console.puppet.net into > https://mypuppetlabel/console.puppet.net....and hopefully still keep PE > happy and functioning as an ENC / report processor :) > > Having had a dig around, by best guess would be to modify > RAILS_RELATIVE_URL_ROOT which seems to be set in a few different > configuration.rb files only. Doesn''t seem to be set in > httpd/conf.d/*passenger* which I would have expected. > > Can anybody confirm that it a) is possible, and b) how to do this? > > Regs, > > Stephen >-- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.