[ 
https://issues.apache.org/jira/browse/WHIRR-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005381#comment-13005381
 ] 

Tom White commented on WHIRR-255:
---------------------------------

Using Puppet in standalone mode might be a good way to start this, then there 
is no need to have a Puppet master running (though we might want to add one 
later).

The install script would be something like:
{code}
function install_puppet() {
  if which rpm &> /dev/null; then
    yum install -y ruby-devel ruby-irb ruby-rdoc rubygems

    wget http://puppetlabs.com/downloads/facter/facter-latest.tgz
    tar xf facter-latest.tgz
    cd facter-*; ruby install.rb; cd -

    wget http://puppetlabs.com/downloads/puppet/puppet-latest.tgz
    tar xf puppet-latest.tgz
    cd puppet-*; sudo ruby install.rb; cd -
  fi
}
{code}

Then instead of bash scripts a service could use puppet scripts (copied to the 
nodes just like the Hadoop service copies configuration files), running them 
with {{puppet apply}}. Could this work? 

> Add support for Puppet
> ----------------------
>
>                 Key: WHIRR-255
>                 URL: https://issues.apache.org/jira/browse/WHIRR-255
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.3.0
>            Reporter: Lars George
>
> Along the lines of WHIRR-49, implement support for Puppet to bootstrap 
> servers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to