Merge "Update git.o.o configs for better rolling reboots"
This commit is contained in:
commit
fcf52af995
@ -34,7 +34,6 @@ class cgit(
|
|||||||
'cgit',
|
'cgit',
|
||||||
'git-daemon',
|
'git-daemon',
|
||||||
'highlight',
|
'highlight',
|
||||||
'socat',
|
|
||||||
]:
|
]:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
}
|
}
|
||||||
@ -171,6 +170,7 @@ class cgit(
|
|||||||
|
|
||||||
service { 'git-daemon':
|
service { 'git-daemon':
|
||||||
ensure => running,
|
ensure => running,
|
||||||
|
enable => true,
|
||||||
subscribe => File['/etc/init.d/git-daemon'],
|
subscribe => File['/etc/init.d/git-daemon'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,6 +29,10 @@ class openstack_project::git (
|
|||||||
mode => 'enforcing'
|
mode => 'enforcing'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package { 'socat':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
|
||||||
class { 'haproxy':
|
class { 'haproxy':
|
||||||
enable => true,
|
enable => true,
|
||||||
global_options => {
|
global_options => {
|
||||||
@ -39,7 +43,7 @@ class openstack_project::git (
|
|||||||
'user' => 'haproxy',
|
'user' => 'haproxy',
|
||||||
'group' => 'haproxy',
|
'group' => 'haproxy',
|
||||||
'daemon' => '',
|
'daemon' => '',
|
||||||
'stats' => 'socket /var/lib/haproxy/stats'
|
'stats' => 'socket /var/lib/haproxy/stats user root group root mode 0600 level admin'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
# The three listen defines here are what the world will hit.
|
# The three listen defines here are what the world will hit.
|
||||||
|
Loading…
Reference in New Issue
Block a user