puppet: Add sparkle configuration files

(imported from commit e36efd64584d946bb13fb5b44af817e85345e197)
This commit is contained in:
Leo Franchi 2013-06-18 12:13:15 -04:00
parent 7705400de2
commit 23322a791d
3 changed files with 68 additions and 2 deletions

View File

@ -0,0 +1,16 @@
<html>
<head>
</head>
<body>
<h1>Humbug Desktop</h1>
<h3>Version 0.0.2</h3>
<ul>
<li>Sparkle Test release</li>
</ul>
<h3>Version 0.0.1</h3>
<ul>
<li>Initial Release</li>
<li>Stuff Humbug Users Like</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Humbug Changelog</title>
<link>http://humbughq.com/dist/apps/mac/sparkle.xml</link>
<description>Latest updates to Humbug's Desktop Application</description>
<language>en</language>
<item>
<title>
Version 0.0.2 (Upgrade Test Alpha)
</title>
<sparkle:releaseNotesLink>
http://humbughq.com/dist/apps/mac/sparkle-changelog.html
</sparkle:releaseNotesLink>
<pubDate>Tue, 18 Jun 2013 16:20:11 +0000</pubDate>
<enclosure url="http://humbughq.com/dist/apps/mac/humbug-0.0.2.tar.bz2" sparkle:version="0.0.2" length="17173500" type="application/octet-stream" sparkle:dsaSignature="MCwCFEu3OR7u9/6qSk+GuLRujcDQtDKOAhR49mNr5O7eVknDFbWvj5LffXS0/A==" />
</item>
<item>
<title>
Version 0.0.1 (Initial Alpha)
</title>
<sparkle:releaseNotesLink>
http://humbughq.com/dist/apps/mac/sparkle-changelog.html
</sparkle:releaseNotesLink>
<pubDate>Tue, 18 Jun 2013 10:20:11 +0000</pubDate>
<enclosure url="http://humbughq.com/dist/apps/mac/humbug-0.0.1.tar.bz2" sparkle:version="0.0.1" length="17173159" type="application/octet-stream" sparkle:dsaSignature="MCwCFB7hS21C2gtkPRL2Hj2Mu/C/+qt4AhQmwS+q7ibvtdZEIk3ulKRR+Y2XhQ==" />
</item>
</channel>
</rss>

View File

@ -14,7 +14,28 @@ class humbug::prod_app_frontend {
target => '/etc/nginx/sites-available/humbug',
}
file { [ "/srv/www/", "/srv/www/dist/", "/srv/www/dist/api",
"/srv/www/dist/apps/", "/srv/www/dist/apps/mac/" ]:
ensure => "directory",
owner => "humbug",
group => "humbug",
mode => 644,
}
# TODO: Setup the API distribution directory at /srv/www/dist/api/.
file { "/srv/www/dist/apps/mac/sparkle.xml":
ensure => file,
require => File['/srv/www/dist/apps/mac/'],
owner => "humbug",
group => "humbug",
mode => 644,
source => "puppet:///modules/humbug/sparkle/sparkle.xml",
}
file { "/srv/www/dist/apps/mac/sparkle-changelog.html":
ensure => file,
require => File['/srv/www/dist/apps/mac/'],
owner => "humbug",
group => "humbug",
mode => 644,
source => "puppet:///modules/humbug/sparkle/sparkle-changelog.html",
}
}