Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: theforeman/foreman-infra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e7f2516c5a4fbc72f1c4327aed8b553db5a37105
Choose a base ref
..
head repository: theforeman/foreman-infra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b1ff0c6c82e096332df786d874c265fe35bc3c4
Choose a head ref
Showing with 13 additions and 1 deletion.
  1. +2 −0 puppet/Gemfile
  2. +1 −1 puppet/Puppetfile
  3. +2 −0 puppet/modules/secretsgit/files/gitconfig
  4. +8 −0 puppet/modules/secretsgit/manifests/init.pp
2 changes: 2 additions & 0 deletions puppet/Gemfile
Original file line number Diff line number Diff line change
@@ -21,3 +21,5 @@ gem 'puppet-lint-version_comparison-check', require: false
gem 'puppet-syntax', require: false
gem 'rspec-puppet', require: false
gem 'rspec-puppet-facts', require: false

gem 'facterdb', '~> 2.0', require: false
2 changes: 1 addition & 1 deletion puppet/Puppetfile
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ mod 'puppet/augeasproviders_shellvar', '6.0.1'
mod 'puppet/augeasproviders_ssh', '6.0.0'
mod 'puppet/chrony', '3.0.0'
mod 'puppet/epel', '5.0.0'
mod 'puppet/extlib', '7.0.0'
mod 'puppet/extlib', '7.1.0'
mod 'puppet/jenkins', '5.0.0'
mod 'puppet/letsencrypt', '11.0.0'
mod 'puppet/mosquitto', '2.1.0'
2 changes: 2 additions & 0 deletions puppet/modules/secretsgit/files/gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[safe]
directory = *
8 changes: 8 additions & 0 deletions puppet/modules/secretsgit/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -16,6 +16,14 @@
Stdlib::Absolutepath $path = '/srv/secretsgit',
Array[String] $users = [],
) {
file { '/etc/gitconfig':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => file('secretsgit/gitconfig'),
}

group { $group:
ensure => present,
}