- Install an external IaaS provider (e.g., OpenStack, Amazon EC2) .
As you use the same server as the puppet master and private PaaS, install both the puppet master and agent on the developer machine. For example, use the instructions below for Ubuntu 14.04 LTS. Please read this  manual for your OS specific puppet.
$ wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb $ sudo dpkg -i puppetlabs-release-precisetrusty.deb $ sudo apt-get update $ sudo apt-get install puppetmaster $ sudo apt-get install puppet
Add the following to the
[main] #server=puppet logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates certificate_revocation = false [master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. #ssl_client_header = SSL_CLIENT_S_DN #ssl_client_verify_header = SSL_CLIENT_VERIFY #autosign=$confdir/autosign.conf autosign = true certname = puppet server = puppet ca_name = 'Puppet CA generated on puppet.appfactory.private.wso2.com ' logdir=/var/log/puppet-stratos vardir=/var/lib/puppet-stratos ssldir=/var/lib/puppet-stratos/ssl rundir=/var/run/puppet-stratos factpath=$vardir/lib/facter templatedir=$confdir/templates certificate_revocation = false [agent] environment=appfactory server= puppet.appfactory.private.wso2.com
Add the following host entry, which points to the puppet master to the
<IP of your puppet master> puppet.appfactory.private.wso2.com
- Check out the installation script from http://svn.wso2.org/repos/wso2/people/anuruddha/setup-script/ and u pdate the
config.propertiesfile according to your requirements. You can remove a node from it to stop installing it.
Run the setup.sh in sudo mode.
sudo bash setup.sh
- See the puppet.log file located inside setup script to make sure that the setup has no errors.