Please review pull request #32: Fix chained resource example using both left and right arrows opened by (cwarden)

Description:

In the resource chain:

File['/etc/ntp.conf'] -> Service['ntpd'] <- Package['ntp']

the file and package were described as related to each other, but
that indirect relationship through theh service is not meaningful here.
Stating that they are not directly related to each other makes it
clear why the file may be managed before the package.

  • Opened: Thu Dec 08 16:25:27 UTC 2011
  • Based on: puppetlabs:master (83eb4ee7b9b94d905e21ef1a55851903bb082ef1)
  • Requested merge: cwarden:chained-resource-example-fix (e4a7d3ea47dca56dbd6067dfbe24630cae1680d8)

Diff follows:

diff --git a/source/guides/language_guide.markdown b/source/guides/language_guide.markdown
index a46cf4e..fb15090 100644
--- a/source/guides/language_guide.markdown
+++ b/source/guides/language_guide.markdown
@@ -534,8 +534,9 @@ Here the ntpd service requires /etc/ntp.conf and the ntp package.
 
 Please note, relationships declared in this manner are between adjacent
 resources.  In this example, the ntp package and the ntp configuration file are
-related to each other and puppet may try to manage the configuration file
-before the package is even installed, which may not be the desired behavior.
+not directly related to each other, and puppet may try to manage the
+configuration file before the package is even installed, which may not be the
+desired behavior.
 
 Chaining in this manner can provide some succinctness at the cost of
 readability.

    

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to