Skip to content

Commit

Permalink
fixes #15063 - remove client cert configuration (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
stbenjam committed May 16, 2016
1 parent 8ed3854 commit a566f05
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions manifests/foreman.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,5 @@
owner => 'foreman',
mode => '0400',
}

$foreman_config_cmd = "${::foreman::app_root}/script/foreman-rake config --\
-k ssl_ca_file -v '${ssl_ca_cert}'\
-k ssl_certificate -v '${client_cert}'\
-k ssl_priv_key -v '${client_key}'"

exec { 'foreman_certs_config':
environment => ["HOME=${::foreman::app_root}"],
cwd => $::foreman::app_root,
command => $foreman_config_cmd,
unless => "${foreman_config_cmd} --dry-run",
user => $::foreman::user,
require => Class['foreman::service'],
}

}
}

0 comments on commit a566f05

Please sign in to comment.