Sorry about the double-whammy there, folks. Clearly that previous email *did* reach Google.
On 9 September 2010 21:24, simpsonjulian <[email protected]> wrote: > In my original ticket I mooted adding Capistrano support. James > suggested that the Vlad was more appropriate. Having checked it out, I > agree. > > --- > config/deploy.rb | 8 ++++++++ > lib/tasks/vlad.rake | 6 ++++++ > tmp/.gitignore | 2 ++ > 3 files changed, 16 insertions(+), 0 deletions(-) > create mode 100644 config/deploy.rb > create mode 100644 lib/tasks/vlad.rake > create mode 100644 tmp/.gitignore > > diff --git a/config/deploy.rb b/config/deploy.rb > new file mode 100644 > index 0000000..4af609d > --- /dev/null > +++ b/config/deploy.rb > @@ -0,0 +1,8 @@ > +# This is the config file for the Vlad deploy tool (http:// > http://rubyhitsquad.com/Vlad_the_Deployer.html). > +# You'll need the 'vlad' and 'vlad-git' gems to use the vlad rake tasks. > + > +set :application, 'puppet-dashboard' > +set :domain, 'my.great.hostname' # <- set the appropriate hostname > +set :deploy_to, '/full/path/to/puppet-dashboard' # <- and the path > +set :repository, 'http://github.com/puppetlabs/puppet-dashboard.git' > +set :web_command, '/etc/init.d/apache2' > diff --git a/lib/tasks/vlad.rake b/lib/tasks/vlad.rake > new file mode 100644 > index 0000000..08b9d92 > --- /dev/null > +++ b/lib/tasks/vlad.rake > @@ -0,0 +1,6 @@ > + begin > + require 'vlad' > + Vlad.load :scm => :git > + rescue LoadError > + # do nothing > + end > diff --git a/tmp/.gitignore b/tmp/.gitignore > new file mode 100644 > index 0000000..d6b7ef3 > --- /dev/null > +++ b/tmp/.gitignore > @@ -0,0 +1,2 @@ > +* > +!.gitignore > -- > 1.7.2.2 > > -- > 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]<puppet-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected] (+44) 207 183 0323 -- 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.
