summaryrefslogtreecommitdiffstats
path: root/documentation/testing.page
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-07-02 19:28:53 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-07-02 19:28:53 +0000
commitc899e2327b35f09f8061607bbb3b7c732500c5ba (patch)
tree35bd2cdfa39c36ef3c2f7802ef29d1b1b590a59f /documentation/testing.page
parentc1e0bc625f41a55ba741818c4f238a8b48e4ba2f (diff)
downloadpuppet-c899e2327b35f09f8061607bbb3b7c732500c5ba.tar.gz
puppet-c899e2327b35f09f8061607bbb3b7c732500c5ba.tar.xz
puppet-c899e2327b35f09f8061607bbb3b7c732500c5ba.zip
documentation updates
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1352 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'documentation/testing.page')
-rw-r--r--documentation/testing.page12
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/testing.page b/documentation/testing.page
index 401e11bf6..3fd39f2ab 100644
--- a/documentation/testing.page
+++ b/documentation/testing.page
@@ -16,22 +16,22 @@ I often use my local Subversion sandbox for testing (i.e., I have my Puppet
configuration stored in Subversion and checked out in my home directory, and I
just test Puppet directly against this configuration). Normally Puppet would
make the configuration directory for you, but the server needs the ``site.pp``
-to exist, so you need to create the ``manifests`` subdirectory::
+to exist, so you need to create the ``manifests`` subdirectory:
$ mkdir -p /var/tmp/puppet/manifests
$ vi /var/tmp/puppet/manifests/site.pp
<create file>
-Alternatively, you can just specify the manifest itself::
+Alternatively, you can just specify the manifest itself:
$ sudo puppetmasterd --verbose --manifest ~/svn/puppet/manifests/site.pp
I also always at least run the daemons in verbose mode while testing. First
-start the central daemon::
+start the central daemon:
$ sudo puppetmasterd --verbose --confdir /var/tmp/puppet
-By default, ``puppetmasterd`` looks for node definitions along these lines::
+By default, ``puppetmasterd`` looks for node definitions along these lines:
node mymachine {
include $operatingsystem
@@ -46,7 +46,7 @@ then you should create the config without nodes and use the ``--nonodes``
argument.
Once you have the manifest, start the client, pointing it at the local server,
-running in noop mode the first time::
+running in noop mode the first time:
$ sudo puppetd --verbose --confdir /var/tmp/puppet --server localhost --noop --onetime
@@ -74,7 +74,7 @@ Also, you can narrow down what portion of the configuration you are testing by
using '--tag'. For instance, say you are running this on a machine that is an
ldapserver, namedserver, and webserver, and you're adding ntpserver to the
list of classes being evaluated. Rather than sitting through the entire
-config every run, just apply the ntpserver elements::
+config every run, just apply the ntpserver elements:
$ sudo puppet --server localhost --test --tag ntpserver