Return-Path: X-Original-To: apmail-whirr-dev-archive@www.apache.org Delivered-To: apmail-whirr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 028D08ECF for ; Sat, 17 Sep 2011 18:47:33 +0000 (UTC) Received: (qmail 64579 invoked by uid 500); 17 Sep 2011 18:47:32 -0000 Delivered-To: apmail-whirr-dev-archive@whirr.apache.org Received: (qmail 64547 invoked by uid 500); 17 Sep 2011 18:47:32 -0000 Mailing-List: contact dev-help@whirr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@whirr.apache.org Delivered-To: mailing list dev@whirr.apache.org Received: (qmail 64539 invoked by uid 99); 17 Sep 2011 18:47:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 18:47:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 18:47:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 55BD79F6E0 for ; Sat, 17 Sep 2011 18:47:09 +0000 (UTC) Date: Sat, 17 Sep 2011 18:47:09 +0000 (UTC) From: "Chad Metcalf (JIRA)" To: dev@whirr.apache.org Message-ID: <91900700.38803.1316285229347.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <762007463.22344.1315927809784.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (WHIRR-385) Implement support for using nodeless, masterless Puppet to provision and run scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WHIRR-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107207#comment-13107207 ] Chad Metcalf commented on WHIRR-385: ------------------------------------ Turns out half the problem is I can't remember how to use the module I wrote... Here is a working properties file: {code} # Change the cluster name here whirr.cluster-name=puppettest # Change the number of machines in the cluster here whirr.instance-templates=1 puppet:apache+puppet:ntp whirr.firewall-rules=80 # For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. whirr.provider=aws-ec2 whirr.identity=${env:AWS_ACCESS_KEY_ID} whirr.credential=${env:AWS_SECRET_ACCESS_KEY} # with puppet, you need to specify where to pull the modules from puppet.apache.module-dir=git://github.com/metcalfc/puppet-apache.git puppet.ntp.module-dir=git://github.com/puppetlabs/puppetlabs-ntp.git # with puppet, you can set class parameters ntp.servers=[ '0.pool.ntp.org', 'clock.redhat.com' ] ntp.autoupdate=true # By default use the user system SSH keys. Override them here. whirr.private-key-file=${sys:user.home}/.ssh/id_whirr whirr.public-key-file=${whirr.private-key-file}.pub # Expert: specify alternate module sources instead of from git #puppet.nginx.module-dir=/tmp/git-puppetlabs-nginx.tgz #puppet.nginx.module-dir=/tmp/git-puppetlabs-nginx {code} When I wrote my module I used {{apache}} not {{httpd}}. I've renamed the github repo to reflect this and updated the above properties file. Also we found that on Ubuntu during the install you'll need to run {{apt-get update}}. > Implement support for using nodeless, masterless Puppet to provision and run scripts > ------------------------------------------------------------------------------------ > > Key: WHIRR-385 > URL: https://issues.apache.org/jira/browse/WHIRR-385 > Project: Whirr > Issue Type: New Feature > Components: new service > Affects Versions: 0.7.0 > Reporter: Alex Heneveld > Attachments: WHIRR-385-results-aws-ec2.txt, WHIRR-385-results-cloudservers-us.txt, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch, WHIRR-385.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > As a user of Whirr, I'd like to be able to use puppet scripts (manifests, modules) from within Whirr to set up machines and clusters, because there are a lot of OS-neutral capabilities and a large number of actively maintained scripts which I could benefit from. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira