-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still need to implement data migration from 03 to 04, but these changes should at least provision the Puppet services using the Debian provided packages.
- Loading branch information
1 parent
34c27ea
commit e9fe279
Showing
8 changed files
with
89 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
sudo -u gitpuppet g10k -config /etc/puppetlabs/g10k.yaml | ||
|
||
G10K_CONFIG_FILE=/etc/puppet/g10k.yaml | ||
if [ ! -f "$G10K_CONFIG_FILE" ]; then | ||
G10K_CONFIG_FILE=/etc/puppetlabs/g10k.yaml | ||
fi | ||
|
||
sudo -u gitpuppet g10k -config "$G10K_CONFIG_FILE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
modules/profile/templates/puppet/puppetdb/config/config.ini.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,24 @@ | ||
########################################### | ||
# Init settings for puppetserver | ||
########################################### | ||
|
||
# Location of your Java binary (version 8) | ||
JAVA_BIN="/usr/bin/java" | ||
|
||
# Modify this if you'd like to change the memory allocation, enable JMX, etc | ||
JAVA_ARGS="-Xms<%= @java_memory %> -Xmx<%= @java_memory %> -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger" | ||
|
||
# Modify this as you would JAVA_ARGS but for non-service related subcommands | ||
JAVA_ARGS_CLI="${JAVA_ARGS_CLI:-}" | ||
|
||
# Modify this if you'd like TrapperKeeper specific arguments | ||
TK_ARGS="" | ||
|
||
# These normally shouldn't need to be edited if using OS packages | ||
USER="puppet" | ||
GROUP="puppet" | ||
<%- if @server_config_path == '/etc/puppetlabs/puppetserver' -%> | ||
INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver" | ||
CONFIG="/etc/puppetlabs/puppetserver/conf.d" | ||
|
||
# Bootstrap path | ||
BOOTSTRAP_CONFIG="/etc/puppetlabs/puppetserver/services.d/,/opt/puppetlabs/server/apps/puppetserver/config/services.d/" | ||
<%- else -%> | ||
INSTALL_DIR="/usr/share/puppetserver" | ||
CONFIG="/etc/puppet/puppetserver/conf.d" | ||
BOOTSTRAP_CONFIG="/etc/puppet/puppetserver/services.d" | ||
<%- end -%> | ||
|
||
# SERVICE_STOP_RETRIES can be set here to alter the default stop timeout in | ||
# seconds. For systemd, the shorter of this setting or 'TimeoutStopSec' in | ||
# the systemd.service definition will effectively be the timeout which is used. | ||
SERVICE_STOP_RETRIES=60 | ||
|
||
# START_TIMEOUT can be set here to alter the default startup timeout in | ||
# seconds. For systemd, the shorter of this setting or 'TimeoutStartSec' | ||
# in the service's systemd.service configuration file will effectively be the | ||
# timeout which is used. | ||
START_TIMEOUT=300 | ||
|
||
|
||
# Maximum number of seconds that can expire for a service reload attempt before | ||
# the result of the attempt is interpreted as a failure. | ||
RELOAD_TIMEOUT=120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test_data/private/files/tarsnap-keys/puppet-04.ops.jquery.net.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fake |