remove all references for puppetdb - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
###############################################################################
|
||||
########## bootstrap.cfg managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
# This file is used by the application framework (trapperkeeper) to
|
||||
# determine what services should be loaded at boot time.
|
||||
# For more info, see:
|
||||
# https://github.com/puppetlabs/trapperkeeper/wiki/Bootstrapping
|
||||
|
||||
# Web Server
|
||||
puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service
|
||||
|
||||
# Webrouting
|
||||
puppetlabs.trapperkeeper.services.webrouting.webrouting-service/webrouting-service
|
||||
|
||||
# TK status
|
||||
puppetlabs.trapperkeeper.services.metrics.metrics-service/metrics-webservice
|
||||
puppetlabs.trapperkeeper.services.status.status-service/status-service
|
||||
puppetlabs.trapperkeeper.services.scheduler.scheduler-service/scheduler-service
|
||||
|
||||
# PuppetDB Services
|
||||
puppetlabs.puppetdb.cli.services/puppetdb-service
|
||||
puppetlabs.puppetdb.command/command-service
|
||||
puppetlabs.puppetdb.pdb-routing/maint-mode-service
|
||||
puppetlabs.puppetdb.pdb-routing/pdb-routing-service
|
||||
puppetlabs.puppetdb.config/config-service
|
||||
|
||||
# NREPL
|
||||
puppetlabs.trapperkeeper.services.nrepl.nrepl-service/nrepl-service
|
||||
|
||||
# Dashboard redirect: remove to disable
|
||||
puppetlabs.puppetdb.dashboard/dashboard-redirect-service
|
||||
@@ -1,11 +0,0 @@
|
||||
###############################################################################
|
||||
########## config.ini managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
[global]
|
||||
vardir = <%= @pt_puppetdb_var_dir %>
|
||||
logging-config = <%= @pt_logback_conf %>
|
||||
|
||||
[command-processing]
|
||||
threads = <%= @pt_com_proc_threads %>
|
||||
concurrent-writes = <%= @pt_concurrent_writes %>
|
||||
@@ -1,10 +0,0 @@
|
||||
###############################################################################
|
||||
########## database.ini managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
[database]
|
||||
subname = <%= @pt_db_subname %>
|
||||
username = <%= @pt_db_username %>
|
||||
password = <%= @pt_db_password %>
|
||||
|
||||
gc-interval = <%= @pt_gc_interval %>
|
||||
@@ -1,31 +0,0 @@
|
||||
###############################################################################
|
||||
########## jetty.ini managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
[jetty]
|
||||
<% if @pt_use_ssl_only != true %>
|
||||
host = <%= @pt_no_ssl_host %>
|
||||
port = <%= @pt_no_ssl_port %>
|
||||
|
||||
# ssl
|
||||
ssl-host = <%= @pt_ssl_host %>
|
||||
ssl-port = <%= @pt_ssl_port %>
|
||||
ssl-key = <%= @pt_ssl_key %>
|
||||
ssl-cert = <%= @pt_ssl_cert %>
|
||||
ssl-ca-cert = <%= @pt_ssl_ca_cert %>
|
||||
|
||||
<% if @pt_log_access == true %>
|
||||
access-log-config = <%= @pt_access_log_config %>
|
||||
<% end end %>
|
||||
|
||||
|
||||
<% if @pt_use_ssl_only == true %>
|
||||
ssl-host = <%= @pt_ssl_host %>
|
||||
ssl-port = <%= @pt_ssl_port %>
|
||||
ssl-key = <%= @pt_ssl_key %>
|
||||
ssl-cert = <%= @pt_ssl_cert %>
|
||||
ssl-ca-cert = <%= @pt_ssl_ca_cert %>
|
||||
|
||||
<% if @pt_log_access == true %>
|
||||
access-log-config = <%= @pt_access_log_config %>
|
||||
<% end end %>
|
||||
@@ -1,59 +0,0 @@
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d %-5p [%c{2}] %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="F1" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/var/log/puppetlabs/puppetdb/puppetdb.log</file>
|
||||
<append>true</append>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>/var/log/puppetlabs/puppetdb/puppetdb-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
<!-- each file should be at most 200MB, keep 90 days worth of history, but at most 1GB total-->
|
||||
<maxFileSize>200MB</maxFileSize>
|
||||
<maxHistory>90</maxHistory>
|
||||
<totalSizeCap>1GB</totalSizeCap>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%d %-5p [%c{2}] %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- Suppress internal ActiveMQ logging -->
|
||||
<logger name="org.apache.activemq" level="warn"/>
|
||||
|
||||
<!-- Suppress internal Spring Framework logging -->
|
||||
<logger name="org.springframework.jms.connection" level="warn"/>
|
||||
|
||||
<!-- Lower the log level for ActiveMQ KahaDB MessageDatabase -->
|
||||
<logger name="org.apache.activemq.store.kahadb.MessageDatabase"
|
||||
level="info"/>
|
||||
|
||||
<appender name="STATUS" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/var/log/puppetlabs/puppetdb/puppetdb-status.log</file>
|
||||
<append>true</append>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<!-- rollover daily -->
|
||||
<fileNamePattern>/var/log/puppetlabs/puppetdb/puppetdb-status-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
<!-- each file should be at most 200MB, keep 90 days worth of history, but at most 1GB total-->
|
||||
<maxFileSize>200MB</maxFileSize>
|
||||
<maxHistory>90</maxHistory>
|
||||
<totalSizeCap>1GB</totalSizeCap>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<!-- note that this will only log the JSON message (%m) and a newline (%n)-->
|
||||
<pattern>%m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- without additivity="false", the status log messages will be sent to every other appender as well-->
|
||||
<logger name="puppetlabs.trapperkeeper.services.status.status-debug-logging" level="debug" additivity="false">
|
||||
<appender-ref ref="STATUS"/>
|
||||
</logger>
|
||||
|
||||
<root level="info">
|
||||
<appender-ref ref="${logappender:-DUMMY}" />
|
||||
<appender-ref ref="F1" />
|
||||
</root>
|
||||
</configuration>
|
||||
@@ -1,7 +0,0 @@
|
||||
###############################################################################
|
||||
########## puppetdb.conf managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
[main]
|
||||
server_urls = https://<%= @pt_db_fqdn%>:<%= @pt_ssl_port %>
|
||||
soft_write_failure = <%= @pt_soft_write_failure %>
|
||||
@@ -1,48 +0,0 @@
|
||||
#
|
||||
# Local settings can be configured without being overwritten by package upgrades, for example
|
||||
# if you want to increase puppetdb open-files-limit to 10000,
|
||||
# you need to increase systemd's LimitNOFILE setting, so create a file named
|
||||
# "/etc/systemd/system/puppetdb.service.d/limits.conf" containing:
|
||||
# [Service]
|
||||
# LimitNOFILE=10000
|
||||
# You can confirm it worked by running systemctl daemon-reload
|
||||
# then running systemctl show puppetdb | grep LimitNOFILE
|
||||
#
|
||||
[Unit]
|
||||
Description=puppetdb Service
|
||||
After=syslog.target network.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=/etc/sysconfig/puppetdb
|
||||
User=puppetdb
|
||||
TimeoutStartSec=14400
|
||||
TimeoutStopSec=60
|
||||
Restart=on-failure
|
||||
StartLimitBurst=5
|
||||
PIDFile=/run/puppetlabs/puppetdb/puppetdb.pid
|
||||
|
||||
# https://tickets.puppetlabs.com/browse/EZ-129
|
||||
# Prior to systemd v228, TasksMax was unset by default, and unlimited. Starting in 228 a default of '512'
|
||||
# was implemented. This is low enough to cause problems for certain applications. In systemd 231, the
|
||||
# default was changed to be 15% of the default kernel limit. This explicitly sets TasksMax to 4915,
|
||||
# which should match the default in systemd 231 and later.
|
||||
# See https://github.com/systemd/systemd/issues/3211#issuecomment-233676333
|
||||
TasksMax=4915
|
||||
|
||||
#set default privileges to -rw-r-----
|
||||
UMask=027
|
||||
|
||||
|
||||
ExecReload=/opt/puppetlabs/server/apps/puppetdb/bin/puppetdb reload
|
||||
ExecStart=/opt/puppetlabs/server/apps/puppetdb/bin/puppetdb start
|
||||
ExecStop=/opt/puppetlabs/server/apps/puppetdb/bin/puppetdb stop
|
||||
|
||||
KillMode=process
|
||||
|
||||
SuccessExitStatus=143
|
||||
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,13 +0,0 @@
|
||||
###############################################################################
|
||||
########## repl.ini managed by puppet agent ##########
|
||||
###############################################################################
|
||||
|
||||
[nrepl]
|
||||
<% if @pt_enable_repl == true %>
|
||||
enabled = <%= @pt_enable_repl %>
|
||||
port = <% @pt_repl_port %>
|
||||
host = <%= @pt_repl_host %>
|
||||
<% else %>
|
||||
# REPL is disabled for security reasons and not normally not required.
|
||||
# To enable it, set `$pt_enable_repl` to `true`.
|
||||
<% end %>
|
||||
@@ -1,17 +0,0 @@
|
||||
<configuration debug="false">
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file><%= @pt_puppetdb_access_log %>.log</file>
|
||||
<append>true</append>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern><%= @pt_puppetdb_access_log %>-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
<!-- each file should be at most 200MB, keep 90 days worth of history, but at most 1GB total-->
|
||||
<maxFileSize><%= @pt_logging_max_file_size %></maxFileSize>
|
||||
<maxHistory><%= @pt_loging_max_history %></maxHistory>
|
||||
<totalSizeCap><%= @pt_logging_total_size %></totalSizeCap>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" %D</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
<appender-ref ref="FILE" />
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user