Showing with 7 additions and 5 deletions.
  1. +6 −4 manifests/server/config.pp
  2. +1 −1 metadata.json
10 changes: 6 additions & 4 deletions manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@
mode => '0750',
}

# Create Foreman share dir which does not depend on Puppet version
exec { 'mkdir -p /usr/share/puppet/modules':
creates => '/usr/share/puppet/modules',
path => ['/usr/bin', '/bin'],
if '/usr/share/puppet/modules' in $puppet::server::common_modules_path {
# Create Foreman share dir which does not depend on Puppet version
exec { 'mkdir -p /usr/share/puppet/modules':
creates => '/usr/share/puppet/modules',
path => ['/usr/bin', '/bin'],
}
}

## SSL and CA configuration
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "theforeman-puppet",
"version": "9.0.1",
"version": "9.0.3",
"author": "theforeman",
"summary": "Puppet agent and server configuration",
"license": "GPL-3.0+",
Expand Down