From: Peter Palfrader Date: Sun, 8 Sep 2019 07:21:27 +0000 (+0200) Subject: rename a file correctly X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e1e98096227a0c09136d534a3b1a618c815cd8e9;p=mirror%2Fdsa-puppet.git rename a file correctly --- diff --git a/modules/roles/manifests/static/srvdir.pp b/modules/roles/manifests/static/srvdir.pp new file mode 100644 index 000000000..7fef3830c --- /dev/null +++ b/modules/roles/manifests/static/srvdir.pp @@ -0,0 +1,13 @@ +# create the directory on static hosts and disable backups +class roles::static::srvdir { + file { '/srv/static.debian.org': + ensure => directory, + mode => '0755', + owner => 'staticsync', + group => 'staticsync', + } + + file { '/srv/static.debian.org/.nobackup': + content => '', + } +} diff --git a/modules/roles/manifests/static/static_srvdir.pp b/modules/roles/manifests/static/static_srvdir.pp deleted file mode 100644 index 7fef3830c..000000000 --- a/modules/roles/manifests/static/static_srvdir.pp +++ /dev/null @@ -1,13 +0,0 @@ -# create the directory on static hosts and disable backups -class roles::static::srvdir { - file { '/srv/static.debian.org': - ensure => directory, - mode => '0755', - owner => 'staticsync', - group => 'staticsync', - } - - file { '/srv/static.debian.org/.nobackup': - content => '', - } -}