Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 067d7e3

Browse files
committed
Merge pull request #112 from nicolasbrechet/feature_autosign
Added autosign and dns_alt_names parameters
2 parents cb38d17 + 712ce4b commit 067d7e3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

manifests/server.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
$gentoo_use = $puppet::params::master_use,
5050
$gentoo_keywords = $puppet::params::master_keywords,
5151
$manage_package = true,
52+
$dns_alt_names = undef,
53+
$autosign = undef,
5254
) inherits puppet::params {
5355

5456
$master = true

manifests/server/config.pp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,18 @@
123123
}
124124
}
125125

126+
if $puppet::server::dns_alt_names {
127+
ini_setting { 'dns_alt_names':
128+
setting => 'dns_alt_names',
129+
value => $puppet::server::dns_alt_names
130+
}
131+
}
132+
133+
if $puppet::server::autosign {
134+
ini_setting { 'autosign':
135+
setting => 'autosign',
136+
value => $puppet::server::autosign
137+
}
138+
}
139+
126140
}

0 commit comments

Comments
 (0)