Skip to content

Puppet module for managing the configuration of Puppet as an agent and a master.

License

Notifications You must be signed in to change notification settings

MADhacking/puppet-module-puppet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet configuration module for Puppet

Description

Puppet module for managing the configuration of Puppet as both master and slave.

Example usage

Puppet Master

class { 'puppet::master': autosign => true, reports => 'store', }

In addition the storeconfigs parameter (default: false) may be supplied.

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[master]
autosign = true
reports = store
storeconfigs = false

Puppet Agent

class { 'puppet::agent': server => "puppet.example.com", }

In addition the runinterval parameter (default: '15m') and the report parameter (default: true) may be supplied.

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[agent]
server = puppet.example.com
runinterval = 15m
report = true

Puppet Master & Agent

class { 'puppet::master': autosign => true, reports => 'store', }
class { 'puppet::agent': server => "puppet.example.com", }

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[master]
autosign = true
reports = store
storeconfigs = false

[agent]
server = puppet.example.com
runinterval = 15m
report = true

About

Puppet module for managing the configuration of Puppet as an agent and a master.

Resources

License

Stars

Watchers

Forks

Packages

No packages published