Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9190C17E9A for ; Wed, 29 Oct 2014 16:20:04 +0000 (UTC) Received: (qmail 28010 invoked by uid 500); 29 Oct 2014 16:20:04 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 27987 invoked by uid 500); 29 Oct 2014 16:20:04 -0000 Mailing-List: contact commits-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list commits@brooklyn.incubator.apache.org Received: (qmail 27945 invoked by uid 99); 29 Oct 2014 16:20:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 16:20:04 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Oct 2014 16:20:02 +0000 Received: (qmail 25087 invoked by uid 99); 29 Oct 2014 16:19:42 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 16:19:42 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 70A85A00EDE; Wed, 29 Oct 2014 16:19:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aledsage@apache.org To: commits@brooklyn.incubator.apache.org Date: Wed, 29 Oct 2014 16:19:43 -0000 Message-Id: In-Reply-To: <4a8ccb8a09514b978a8740b0fc3d089e@git.apache.org> References: <4a8ccb8a09514b978a8740b0fc3d089e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/7] git commit: Fix typos in chef-blueprints.md X-Virus-Checked: Checked by ClamAV on apache.org Fix typos in chef-blueprints.md Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/3f9ffe49 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/3f9ffe49 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/3f9ffe49 Branch: refs/heads/master Commit: 3f9ffe49c1348e97f8005898cd8a37ebbda41556 Parents: 7dfb089 Author: Aled Sage Authored: Tue Oct 28 18:56:03 2014 +0000 Committer: Aled Sage Committed: Wed Oct 29 09:20:16 2014 +0000 ---------------------------------------------------------------------- docs/use/guide/defining-applications/chef-blueprints.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/3f9ffe49/docs/use/guide/defining-applications/chef-blueprints.md ---------------------------------------------------------------------- diff --git a/docs/use/guide/defining-applications/chef-blueprints.md b/docs/use/guide/defining-applications/chef-blueprints.md index 7d34dd0..eeacadc 100644 --- a/docs/use/guide/defining-applications/chef-blueprints.md +++ b/docs/use/guide/defining-applications/chef-blueprints.md @@ -107,7 +107,7 @@ The structure of the archive must be that a single folder is off the root, and in that folder contains the usual Chef recipe and auxiliary files. For example, the archive might contain `mysql-master/recipes/server.rb`. Archives such as those above from github match this format. -The name of the that folder does not matter, as often they contain version information. +The name of that folder does not matter, as often they contain version information. When deployed, these will be renamed to match the short name (the key in the `cookbooks_url` map, for instance `mysql` or `openssl`). @@ -153,7 +153,7 @@ whether to start a service. Some services, e.g. postgres, will return 0 even if is not running.) If a `pid_file` is supplied, Brooklyn will check whether a process with the PID specified in that -file is running. This has been selected for mysql because it is appears to be more portable: +file is running. This has been selected for mysql because it appears to be more portable: the service name varies among OS's: it is `mysqld` on CentOS but `mysql` on Ubuntu! @@ -270,7 +270,7 @@ A general schema for the supported YAML is below: pid_file: /var/run/cookbook.pid ``` -If you are interested in exploring the Java code for creating bluerpints, +If you are interested in exploring the Java code for creating blueprints, start with the `TypedToyMySqlEntiyChef` class, which essentially does what this tutorial has shown; and then move on to the `DynamicToyMySqlEntiyChef` which starts to look at more sophisticated constructs. (Familiarity with BASH and basic Java blueprints may be useful at that stage.)