The puppetserver module allows you to easily manage Puppetserver with Puppet.
class { 'puppetserver::repository': } ->
class { 'puppetserver': }
class { 'puppetserver::repository': } ->
class { 'puppetserver':
config => {
'java_args' => {
'xms' => '4g',
'xmx' => '6g',
'maxpermsize' => '512m',
},
'webserver' => {
'ssl-port' => '18140',
},
},
}
The main class to install a Puppet Server.
Install the necessary gems for hiera-eyaml inside the Puppet Server.
Simple usage:
class { '::puppetserver::hiera::eyaml':
require => Class['puppetserver::install'],
}
Specify eyaml method:
class { '::puppetserver::hiera::eyaml':
method => 'gpg',
require => Class['puppetserver::install'],
}
A setting stored in the JAVA_ARGS
variable. Values are managed individually (you don't need to provide all of them);
Example:
puppetserver::config::java_arg { '-Xms':
value => '4g',
}
A Puppetserver configuration entry.
Example:
puppetserver::config::puppetserver { 'webserver.conf/webserver/ssl-port':
value => '18140',
}
A Puppetserver bootstrap.cfg entry.
Example:
puppetserver::config::bootstrap { 'puppetlabs.services.ca.certificate-authority-disabled-service/certificate-authority-disabled-service':
ensure => present,
}
This plugin allows to manage gems in the Puppetserver.
Example:
gem { 'hiera-eyaml':
ensure => present,
provider => puppetserver_gem,
}
Please report bugs and feature request using GitHub issue tracker.
For pull requests, it is very much appreciated to check your Puppet manifest with puppet-lint to follow the recommended Puppet style guidelines from the Puppet Labs style guide.
Copyright (c) 2014 mailto:[email protected] All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.