RETIRED, Puppet module to manage cgit
Go to file
Colleen Murphy 9800f44a41 Fix git-daemon refresh logic
Without this patch, the git-daemon init script file resource subscribes
to the systemd git-daemon socket file resource, and the exec that adds
or updates the git-daemon selinux port subscribes to changes in the
init script. The logic is broken here because a file resource cannot
subscribe to anything, only services and execs can subscribe to an
event. If the selinux exec needs to run again, for instance because the
git-daemon port has changed, it must wait for a change in the init
script. Since the init script is built from a static file and not a
template, it won't change if the git-daemon port changes, so the
selinux exec will not run.

This patch adds another subscribe relationship to the git-daemon
selinux exec on the git-daemon socket because if that changes, the
git-daemon exec needs to run again. We also replace the subscribe in
the init script resource with a require, which is a no-op change but
makes the relationship more clear.

Change-Id: Ia985dad81a95130ea55bb6479632375ac4ea6d24
2015-09-25 13:34:28 -07:00
files Use systemd'd git-daemon on Centos7 2015-08-28 09:31:37 -07:00
manifests Fix git-daemon refresh logic 2015-09-25 13:34:28 -07:00
spec Add acceptance tests for puppet-cgit 2015-09-15 16:39:47 -03:00
templates Use systemd'd git-daemon on Centos7 2015-08-28 09:31:37 -07:00
.gitignore Add acceptance tests for puppet-cgit 2015-09-15 16:39:47 -03:00
.gitreview Add new puppet module boilerplate 2015-01-28 17:05:31 -05:00
Gemfile Add beaker-rspec gem to Gemfile 2015-08-11 19:21:17 -07:00
LICENSE Add missing LICENSE file 2015-01-29 22:56:42 +00:00
README.md Add new puppet module boilerplate 2015-01-28 17:05:31 -05:00
Rakefile Add new puppet module boilerplate 2015-01-28 17:05:31 -05:00
metadata.json Replace ci.o.o links with docs.o.o/infra 2015-05-14 21:38:17 +00:00

README.md

OpenStack Cgit Module

This module installs and configures cgit