Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused _template options #588

Merged
merged 1 commit into from
Apr 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ wrapper classes or even your ENC (if it supports param classes). For example:
server_git_repo => true
}

# You need need your own template for puppet.conf?
class { '::puppet':
agent_template => 'puppetagent/puppet.conf.core.erb',
server => true,
server_template => 'puppetserver/puppet.conf.master.erb',
}

# Maybe you're using gitolite, new hooks, and a different port?
class { '::puppet':
server => true
Expand Down
1 change: 0 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
$ca_port = $::puppet::ca_port,
$dns_alt_names = $::puppet::dns_alt_names,
$listen_to = $::puppet::listen_to,
$main_template = $::puppet::main_template,
$module_repository = $::puppet::module_repository,
$pluginsource = $::puppet::pluginsource,
$pluginfactsource = $::puppet::pluginfactsource,
Expand Down
16 changes: 0 additions & 16 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@
# $auth_template:: Use a custom template for the auth
# configuration.
#
# $main_template:: Use a custom template for the main puppet
# configuration.
#
# $use_srv_records:: Whether DNS SRV records will be used to resolve
# the Puppet master
#
Expand All @@ -164,9 +161,6 @@
#
# $agent_noop:: Run the agent in noop mode.
#
# $agent_template:: Use a custom template for the agent puppet
# configuration.
#
# $client_package:: Install a custom package to provide
# the puppet client
#
Expand Down Expand Up @@ -246,12 +240,6 @@
#
# $server_external_nodes:: External nodes classifier executable
#
# $server_template:: Which template should be used for master
# configuration
#
# $server_main_template:: Which template should be used for master
# related configuration in the [main] section
#
# $server_git_repo:: Use git repository as a source of modules
#
# $server_dynamic_environments:: Use $environment in the modulepath
Expand Down Expand Up @@ -600,8 +588,6 @@
Optional[String] $agent_restart_command = $puppet::params::agent_restart_command,
String $classfile = $puppet::params::classfile,
String $hiera_config = $puppet::params::hiera_config,
String $main_template = $puppet::params::main_template,
String $agent_template = $puppet::params::agent_template,
String $auth_template = $puppet::params::auth_template,
Boolean $allow_any_crl_auth = $puppet::params::allow_any_crl_auth,
Array[String] $auth_allowed = $puppet::params::auth_allowed,
Expand Down Expand Up @@ -644,8 +630,6 @@
Optional[String] $server_passenger_ruby = $puppet::params::server_passenger_ruby,
String $server_httpd_service = $puppet::params::server_httpd_service,
Variant[Undef, String[0], Stdlib::Absolutepath] $server_external_nodes = $puppet::params::server_external_nodes,
String $server_template = $puppet::params::server_template,
String $server_main_template = $puppet::params::server_main_template,
Array[String] $server_cipher_suites = $puppet::params::server_cipher_suites,
Optional[String] $server_config_version = $puppet::params::server_config_version,
Integer[0] $server_connect_timeout = $puppet::params::server_connect_timeout,
Expand Down
2 changes: 0 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@
$package_source = undef

# Need your own config templates? Specify here:
$main_template = 'puppet/puppet.conf.erb'
$agent_template = 'puppet/agent/puppet.conf.erb'
$auth_template = 'puppet/auth.conf.erb'

# Allow any to the CRL. Needed in case of puppet CA proxy
Expand Down