diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-11 02:19:29 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-11 02:19:29 +0200 |
commit | d1284f0f15f9ca64c2c54c845085382ff440a3d2 (patch) | |
tree | 811abf5ff210d20ea6706fb223afde30fde4404b | |
parent | Add pre-tags to default root readme. (diff) | |
download | cgit-d1284f0f15f9ca64c2c54c845085382ff440a3d2.tar.gz cgit-d1284f0f15f9ca64c2c54c845085382ff440a3d2.tar.xz |
Add file with public repos.
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 942aee8..43be069 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -88,6 +88,11 @@ class cgit ( } + file { '/usr/local/var/public-repos': + ensure => file, + content => ($public_repos << '').join("\n"), + } + if $manage_server { if $server_name == undef { |