diff options
author | Dan Fandrich <danf@mageia.org> | 2024-01-18 16:09:10 -0800 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-01-18 16:09:10 -0800 |
commit | c96e287499d72cb86a15c499f47dc216f5cdc737 (patch) | |
tree | 01890e25df98ce2f0e293725c32feb50ab4581a0 /modules/gitmirror/manifests/init.pp | |
parent | aa7a464e418c585440248b6f0a566ac55ce0bc79 (diff) | |
download | puppet-c96e287499d72cb86a15c499f47dc216f5cdc737.tar puppet-c96e287499d72cb86a15c499f47dc216f5cdc737.tar.gz puppet-c96e287499d72cb86a15c499f47dc216f5cdc737.tar.bz2 puppet-c96e287499d72cb86a15c499f47dc216f5cdc737.tar.xz puppet-c96e287499d72cb86a15c499f47dc216f5cdc737.zip |
Switch gitmirror files from templates to files
There are no template substitutions needed in these files, so allowing
them opens the danger of substitutions happening unknowingly with future
changes to these files.
Diffstat (limited to 'modules/gitmirror/manifests/init.pp')
-rw-r--r-- | modules/gitmirror/manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gitmirror/manifests/init.pp b/modules/gitmirror/manifests/init.pp index 9a7559f7..c1dcd894 100644 --- a/modules/gitmirror/manifests/init.pp +++ b/modules/gitmirror/manifests/init.pp @@ -27,11 +27,11 @@ class gitmirror { } mga_common::local_script { 'on-the-pull': - content => template('gitmirror/on-the-pull'), + source => 'puppet:///modules/gitmirror/on-the-pull', } file { '/etc/init.d/on-the-pull': - content => template('gitmirror/on-the-pull.init'), + source => 'puppet:///modules/gitmirror/on-the-pull.init', mode => '0755', } @@ -43,6 +43,6 @@ class gitmirror { } mga_common::local_script { 'gitmirror-sync-metadata': - content => template('gitmirror/rsync-metadata.sh'), + source => 'puppet:///modules/gitmirror/rsync-metadata.sh', } } |