Changes between Initial Version and Version 1 of how-to/puppet


Ignore:
Timestamp:
Mar 7, 2011, 1:02:01 AM (15 years ago)
Author:
Daniel Kahn Gillmor
Comment:

initial docs for setting up a test puppetmaster

Legend:

Unmodified
Added
Removed
Modified
  • how-to/puppet

    v1 v1  
     1= Puppet =
     2
     3MF/PL is moving toward puppet as a system administration infrastructure.
     4
     5
     6== administering puppet ==
     7
     8puppet can be intimidating.  If you want to help with the administration, here's instructions to get started:
     9
     10=== setting up a development environment ===
     11
     12Get the configuration:
     13
     14{{{
     15git clone git://git.mayfirst.org/mfpl/puppet
     16cd puppet
     17git submodule init
     18git submodule update
     19}}}
     20
     21And as the superuser, install the tools:
     22{{{
     23apt-get install puppet-common
     24}}}
     25
     26then copy and update the sample configs to refer to your current environment:
     27{{{
     28cp puppet.conf.sample puppet.conf
     29cp fileserver.conf.sample fileserver.conf
     30$EDITOR puppet.conf fileserver.conf
     31}}}
     32
     33some important changes to consider:
     34
     35 * repoint `[files] path` in `fileserver.conf`
     36 * make a simple `var` dir for your dev puppetmaster to stash its data
     37 * repoint all the explicit dirs in `puppet.conf` to the `var` dir
     38
     39Then you can launch the puppet master as a non-privileged user from the checked-out directory:
     40
     41{{{
     42puppet master --confdir=$(pwd) --no-daemonize --verbose
     43}}}