diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-02 19:28:53 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-02 19:28:53 +0000 |
commit | c899e2327b35f09f8061607bbb3b7c732500c5ba (patch) | |
tree | 35bd2cdfa39c36ef3c2f7802ef29d1b1b590a59f /documentation/notcfengine.page | |
parent | c1e0bc625f41a55ba741818c4f238a8b48e4ba2f (diff) | |
download | puppet-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/notcfengine.page')
-rw-r--r-- | documentation/notcfengine.page | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/notcfengine.page b/documentation/notcfengine.page index 8513e7757..40f25ced8 100644 --- a/documentation/notcfengine.page +++ b/documentation/notcfengine.page @@ -58,7 +58,7 @@ supports two critical features that cfengine forces you to hack around. Puppet supports building higher level objects out of a set of low-level objects including the ability to parameterize, and has a built-in ability to express relationships between objects. For instance, here is how you might -define an 'apache' component:: +define an 'apache' component: define apache(docroot,htmlsource,configfile) { # make sure the package is installed @@ -142,7 +142,7 @@ languages, for instance. The two manifests just download Apache's configuration from a central server, restarting Apache if the files change at all, and also making sure that Apache is always running. -Here's how it looks in puppet:: +Here's how it looks in puppet: # This would normally be in a separate file, e.g., classes/apache.pp class apacheserver { @@ -167,7 +167,7 @@ Here's how it looks in puppet:: include apacheserver } -And here's how the same configuration looks in cfengine:: +And here's how the same configuration looks in cfengine: control: # this class is necessary later @@ -220,4 +220,5 @@ There are a few specific items worth noting in this comparison: anywhere, and the 'apacheserver' class must be set before any code is associated with it. Neither of these is a big deal in small doses, but it can get quite complicated as the configuration matures. + *$Id$* |