diff --git a/servers/puppet/modules/humbug/files/sparkle/sparkle-changelog.html b/servers/puppet/modules/humbug/files/sparkle/sparkle-changelog.html new file mode 100644 index 0000000000..b3177607b9 --- /dev/null +++ b/servers/puppet/modules/humbug/files/sparkle/sparkle-changelog.html @@ -0,0 +1,16 @@ + + + + +

Humbug Desktop

+

Version 0.0.2

+ +

Version 0.0.1

+ + + diff --git a/servers/puppet/modules/humbug/files/sparkle/sparkle.xml b/servers/puppet/modules/humbug/files/sparkle/sparkle.xml new file mode 100755 index 0000000000..240ddcd87d --- /dev/null +++ b/servers/puppet/modules/humbug/files/sparkle/sparkle.xml @@ -0,0 +1,29 @@ + + + + Humbug Changelog + http://humbughq.com/dist/apps/mac/sparkle.xml + Latest updates to Humbug's Desktop Application + en + + + Version 0.0.2 (Upgrade Test Alpha) + + + http://humbughq.com/dist/apps/mac/sparkle-changelog.html + + Tue, 18 Jun 2013 16:20:11 +0000 + + + + + Version 0.0.1 (Initial Alpha) + + + http://humbughq.com/dist/apps/mac/sparkle-changelog.html + + Tue, 18 Jun 2013 10:20:11 +0000 + + + + diff --git a/servers/puppet/modules/humbug/manifests/prod_app_frontend.pp b/servers/puppet/modules/humbug/manifests/prod_app_frontend.pp index 9aa3874a44..23f89af9b4 100644 --- a/servers/puppet/modules/humbug/manifests/prod_app_frontend.pp +++ b/servers/puppet/modules/humbug/manifests/prod_app_frontend.pp @@ -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", + } }