Skip to content

Commit

Permalink
Revert Struct for $config
Browse files Browse the repository at this point in the history
Struct would require mentioning *all* possible variables, which is out
of scope for this feature.

Should consider just checking for certain variables compile-time.
  • Loading branch information
towo committed Apr 19, 2018
1 parent 655a293 commit 9c325aa
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,7 @@
String $config_file,
String $owner,
String $group,
Struct[{
'pid.file' => String[1],
'root' => String[1],
'server.cert' => String[1],
'server.key' => String[1],
'server.crl' => String[1],
'clinet.cert' => String[1],
'client.key' => String[1],
'ca.cert' => String[1],
}] $config,
Hash $config,
Struct[{
client => Struct[{
cert => String[1],
Expand Down

0 comments on commit 9c325aa

Please sign in to comment.