Skip to content

Commit 08444d1

Browse files
authored
Merge pull request #90 from cringdahl/repose9-pid-file
fix for repose9 still using repose-valve pid file
2 parents d20013e + b04c126 commit 08444d1

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

ModuleFile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name 'citops-repose'
2-
version '2.12.0'
2+
version '2.12.1'
33
description "Repose is an api middleware that provides authentication,
44
filtering, ratelimitting and several other features, this deploys it."
55
project_page 'https://github.com/rackerlabs/puppet-repose'

manifests/repose9.pp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
# String. Log file directory path
5656
# Defaults to <tt>/var/log/repose</tt>
5757
#
58-
# [*pid_file*]
59-
# String. Pid file location
60-
# Defaults to <tt>/var/run/repose-valve.pid</tt>
61-
#
6258
# [*user*]
6359
# String. User to run the valve as
6460
# Defaults to <tt>repose</tt>
@@ -129,7 +125,6 @@
129125
$run_port = $repose::params::run_port,
130126
$daemon_home = $repose::params::daemon_home,
131127
$log_path = $repose::params::logdir,
132-
$pid_file = $repose::params::pid_file,
133128
$user = $repose::params::user,
134129
$daemonize = $repose::params::daemonize,
135130
$daemonize_opts = $repose::params::daemonize_opts,
@@ -169,7 +164,6 @@
169164
"set RUN_PORT '${run_port}'",
170165
"set DAEMON_HOME '${daemon_home}'",
171166
"set LOG_PATH '${log_path}'",
172-
"set PID_FILE '${pid_file}'",
173167
"set USER '${user}'",
174168
"set daemonize '${daemonize}'",
175169
"set daemonize_opts '\"${daemonize_opts}\"'",

puppet-module-repose.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%define base_name repose
33

44
Name: puppet-module-%{user}-%{base_name}
5-
Version: 2.12.0
5+
Version: 2.12.1
66
Release: 1
77
BuildArch: noarch
88
Summary: Puppet module to configure %{base_name}
@@ -30,6 +30,8 @@ cp -pr * %{buildroot}%{module_dir}/
3030
%{module_dir}
3131

3232
%changelog
33+
* Tue Oct 29 2019 Cory Ringdahl <[email protected]> 2.12.1-1
34+
- removed PID_FILE var for repose9; startup script already takes care of this var
3335
* Tue Oct 22 2019 Senthil Natarajan <[email protected]> 2.12.0-1
3436
- Added support for url encoded header
3537
* Thu Aug 21 2019 Josh Bell <[email protected]> 2.11.0-1

spec/classes/repose9_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"set RUN_PORT '9090'",
2727
"set DAEMON_HOME '/usr/share/lib/repose'",
2828
"set LOG_PATH '/var/log/repose'",
29-
"set PID_FILE '/var/run/repose-valve.pid'",
3029
"set USER 'repose'",
3130
"set daemonize '/usr/sbin/daemonize'",
3231
"set daemonize_opts '\"-c $DAEMON_HOME -p $PID_FILE -u $USER -o $LOG_PATH/stdout.log -e $LOG_PATH/stderr.log -l /var/lock/subsys/$NAME\"'",

0 commit comments

Comments
 (0)