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

Latest commit

 

History

History
32 lines (25 loc) · 810 Bytes

README.rdoc

File metadata and controls

32 lines (25 loc) · 810 Bytes

Module: puppet

Manage puppet and it’s agents.

Example:

Install and setup a basic master with activerecord storeconfigs and CouchDB as ENC

$puppet_server = '127.0.0.1'
$puppet_master = true
$puppet_storeconfig_provider = 'activerecord'
$puppet_storeconfig_db_adapter = 'mysql'
$puppet_storeconfig_db_user = 'root'
$puppet_storeconfig_db_password = ''
$puppet_storeconfig_db_server = 'localhost'
$puppet_storeconfig_db_name = 'puppet'
class {'puppet': 
  server => '127.0.0.1'
}
class { 'puppet::couch':
  url => 'http://127.0.0.1:5984/puppet'
}
class { 'puppet::master':
}

Install on client.

$puppet_server = 'puppet'
class { 'puppet': }

The toplevel variables are legacy stuff that has not been refactored since i got away from using ldap as node classifier.