Skip to content

Commit

Permalink
Fixes #22725 - Add newline to CA to prevent EOM error on registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1984 authored and ehelms committed May 21, 2018
1 parent 159b4d2 commit f960c6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/rhsm_reconfigure_script.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

concat::fragment { "${title}+end_ca_cert":
target => $title,
content => "EOM\n\n",
content => "\nEOM\n\n",
order => '04',
}

Expand All @@ -44,7 +44,7 @@

concat::fragment { "${title}+end_server_ca_cert":
target => $title,
content => "EOM\n\n",
content => "\nEOM\n\n",
order => '07',
}

Expand Down
2 changes: 1 addition & 1 deletion templates/rhsm-katello-reconfigure.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type -P subscription-manager >/dev/null || type -P subscription-manager-cli >/de
# backup configuration during the first run
test -f $CFG_BACKUP || cp $CFG $CFG_BACKUP

#create the cert
# create the cert
echo "$KATELLO_SERVER_CA_DATA" > $KATELLO_CERT_DIR/$KATELLO_SERVER_CA_CERT
chmod 644 $KATELLO_CERT_DIR/$KATELLO_SERVER_CA_CERT

Expand Down

0 comments on commit f960c6e

Please sign in to comment.