<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=Deploy_SEA_from_github_via_puppet</id>
	<title>Deploy SEA from github via puppet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=Deploy_SEA_from_github_via_puppet"/>
	<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Deploy_SEA_from_github_via_puppet&amp;action=history"/>
	<updated>2026-05-25T16:29:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.docking.org/index.php?title=Deploy_SEA_from_github_via_puppet&amp;diff=9988&amp;oldid=prev</id>
		<title>Frodo: asdf</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=Deploy_SEA_from_github_via_puppet&amp;diff=9988&amp;oldid=prev"/>
		<updated>2017-04-08T23:25:20Z</updated>

		<summary type="html">&lt;p&gt;asdf&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a mockup of how the puppetlabs vcsrepo module can be used to automate the deployment of something like sea16 via puppet&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll need to &lt;br /&gt;
 a) Install puppetlabs-vcsrepo on alpha&lt;br /&gt;
 b) Create a puppet module for application(s) you want to deploy&lt;br /&gt;
 c) Write manifest(s) (below) in the module for the application(s) you wish to deploy&lt;br /&gt;
 d) Install the module on alpha&lt;br /&gt;
 e) Register it with puppet&lt;br /&gt;
 f) Assign the module to any servers you wish to use as web app servers&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
class SEA16Server {&lt;br /&gt;
  $SEA_REPO = &amp;#039;git://git@github.com:docking-org/seaware-academic.git&amp;#039;&lt;br /&gt;
  $SEA_ROOT = &amp;#039;/nfs/soft/www/apps/sea/conda_sea16&amp;#039;&lt;br /&gt;
  file { $SEA_ROOT:&lt;br /&gt;
    ensure =&amp;gt; directory,&lt;br /&gt;
    recursive =&amp;gt; true,&lt;br /&gt;
  }&lt;br /&gt;
  vcsrepo { $SEA_ROOT:&lt;br /&gt;
    ensure   =&amp;gt; latest,&lt;br /&gt;
    provider =&amp;gt; git,&lt;br /&gt;
    source   =&amp;gt; $SEA_REPO,&lt;br /&gt;
    user     =&amp;gt; &amp;#039;www&amp;#039;,&lt;br /&gt;
    require  =&amp;gt; File[&amp;#039;/nfs/home/www/.ssh/id_rsa&amp;#039;],&lt;br /&gt;
    revision =&amp;gt; &amp;#039;production&amp;#039;,&lt;br /&gt;
    notify   =&amp;gt; [&lt;br /&gt;
      Exec[&amp;#039;sea16-vcs-make&amp;#039;],&lt;br /&gt;
      Exec[&amp;#039;run-sea-server&amp;#039;],&lt;br /&gt;
    ]   &lt;br /&gt;
  }&lt;br /&gt;
  exec { &amp;#039;sea16-vcf-make-all&amp;#039;:&lt;br /&gt;
    command           =&amp;gt; &amp;#039;/usr/bin/make -C $SEA_ROOT all&amp;#039;,&lt;br /&gt;
    user              =&amp;gt; &amp;#039;www&amp;#039;,&lt;br /&gt;
    notifyonly        =&amp;gt; true,&lt;br /&gt;
  }&lt;br /&gt;
  exec { &amp;#039;sea16-vcf-make-restart&amp;#039;:&lt;br /&gt;
    command    =&amp;gt; &amp;#039;/usr/bin/make -C $SEA_ROOT SEAserver-start&amp;#039;,&lt;br /&gt;
    user       =&amp;gt; &amp;#039;www&amp;#039;,&lt;br /&gt;
    notifyonly =&amp;gt; true,&lt;br /&gt;
    require    =&amp;gt; Exec[&amp;#039;sea16-vcf-make-all&amp;#039;],&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Curator]]&lt;/div&gt;</summary>
		<author><name>Frodo</name></author>
	</entry>
</feed>