Skip to content

Commit 839c037

Browse files
author
Gary Larizza
committed
Documentation Commit
These files describe the process and problems I have with this module.
1 parent 8671d15 commit 839c037

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

LAYOUT.markdown

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# init.pp
2+
3+
Accepts parameters of version (present, latest, or specific version number) as well as booleans for master, agent, and dashboard. If dashboard is true, it includes the Class['dashboard'].
4+
5+
# agent.pp
6+
7+
Configures puppet agent package, service, puppet.conf (concat), and ensures the cron setting is present.
8+
9+
# master.pp
10+
11+
Configures the puppet master package, service, puppet.conf (concat), init script, Passenger (if needed), and Storeconfigs (if needed).
12+
13+
# NEED TODO #
14+
15+
Strip out Passenger, Dashboard, and storeconfigs to their own separate classes. Fix all OS-specific logic, validate params, ensure portability.
16+
What about certname? Agent AND master?
17+
What about agent vs. master ssldir/vardir?
18+
Better method than concat?
19+
20+
## Questions ##
21+
* With Validation - would be easier to define variables like $v_alphanum in stdlib if we use them frequently?
22+
* Where should validation occur - especially if we're calling out to dependent classes?

README

+9-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
puppetlabs-puppet is a configuration manager module that ensures the configuration of puppet agent, master, and dashboard.
1+
## Puppetlabs-puppet Module
2+
3+
This module is a configuration manager module that ensures the configuration of puppet agent, master, and dashboard.
4+
5+
## NOTE ##
6+
7+
It's a stub, at the moment, as its multiple dependency modules have yet to be published. Once they've been published, then we can update this module.
8+
9+
## Quick Start

todo

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# install activerecord for storeconfigs
2+
# install ruby sqlite and mysql libs
3+
# install passenger
4+
5+
All these should be packages, not gems eh?
6+
7+
mysql-server should get installed earlier
8+
9+
dbpass and dbuser etc should only be used for the adapters that need it
10+

0 commit comments

Comments
 (0)