Skip to content

Commit

Permalink
Merge 1db4a81 into 26624bc
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Apr 23, 2020
2 parents 26624bc + 1db4a81 commit 571585b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/init.pp
Expand Up @@ -41,6 +41,8 @@
# @param server_timeout HTTP timeout in seconds
# @param inotify Inotify is used for monitoring changes in directories with certificates. When this directory is mounted using a network
# file system without inotify notification support (e.g. NFS), then disabling inotify is strongly recommended.
# @param process_timeout
# The time in seconds we will allow the rhsmd cron job to run before terminating the process.
#
# @example
# include rhsm
Expand Down Expand Up @@ -75,6 +77,7 @@
Array[String[1]] $enabled_repo_ids = [],
Integer[0,1] $inotify = 1,
Integer[0] $server_timeout = 180,
Integer[0] $process_timeout = 300,
){

if ($rh_user == undef and $rh_password == undef) and ($org == undef and $activationkey == undef) {
Expand Down
4 changes: 4 additions & 0 deletions templates/rhsm.conf.erb
Expand Up @@ -88,6 +88,10 @@ autoAttachInterval = 1440
# If set to zero, the checks done by the rhsmcertd daemon will not be splayed (randomly offset)
splay = 1

[rhsmd]
# The time in seconds we will allow the rhsmd cron job to run before terminating the process.
processTimeout = <%= @process_timeout %>

[logging]
default_log_level = INFO
# subscription_manager = DEBUG
Expand Down

0 comments on commit 571585b

Please sign in to comment.