X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=environments%2Fproduction%2Fmanifests%2Fgitweb.pp;h=ade270829488560fd9cb4fa33f751055f32e6b0b;hb=HEAD;hp=a13d2a6a556eaacbed14900b1fac424142592781;hpb=b9831c0a779e038d8bb4f3650c91d64be63a932d;p=infra.git diff --git a/environments/production/manifests/gitweb.pp b/environments/production/manifests/gitweb.pp index a13d2a6..ade2708 100644 --- a/environments/production/manifests/gitweb.pp +++ b/environments/production/manifests/gitweb.pp @@ -20,12 +20,12 @@ node gitweb { group => 'git', before => Service['gitweb.service'] } - file{ '/etc/systemd/system/git.socket': + systemd::unit_file {'git.socket': ensure => 'file', source => 'puppet:///modules/gitweb/git.socket', before => Service['git.socket'] } - file{ '/etc/systemd/system/git@.service': + systemd::unit_file {'git@.service': ensure => 'file', source => 'puppet:///modules/gitweb/git@.service', before => Service['git.socket'] @@ -35,7 +35,7 @@ node gitweb { provider => 'systemd', enable => true } - file{ '/etc/systemd/system/gitweb.service': + systemd::unit_file {'gitweb.service': ensure => 'file', source => 'puppet:///modules/gitweb/gitweb.service', notify => Service['gitweb.service'] @@ -59,7 +59,7 @@ node gitweb { file{ '/etc/systemd/system/fcgiwrap.socket.d': ensure => 'directory' } - file{ '/etc/systemd/system/fcgiwrap.socket.d/ListenStream.conf': + systemd::unit_file {'fcgiwrap.socket.d/ListenStream.conf': ensure => 'file', source => 'puppet:///modules/gitweb/fcgiwrap-ListenStream.conf', notify => Service['fcgiwrap.socket'] @@ -67,7 +67,7 @@ node gitweb { file{ '/etc/systemd/system/fcgiwrap.service.d': ensure => 'directory' } - file{ '/etc/systemd/system/fcgiwrap.service.d/sandbox.conf': + systemd::unit_file {'fcgiwrap.service.d/sandbox.conf': ensure => 'file', source => 'puppet:///modules/gitweb/fcgiwrap-sandbox.conf', notify => Service['fcgiwrap.socket']