From 37047487c0fa5a525b855dbd9d52b27070a92c2c Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Thu, 15 Nov 2012 11:41:15 -0500 Subject: [PATCH 1/5] updating version to 0.2.0 --- demoapp/Modulefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demoapp/Modulefile b/demoapp/Modulefile index d21fabb..b99d529 100644 --- a/demoapp/Modulefile +++ b/demoapp/Modulefile @@ -1,5 +1,5 @@ name 'cloudsmith-demoapp' -version '0.1.0' +version '0.2.0' author 'hlindberg' license '' @@ -7,4 +7,4 @@ project_page '' source '' summary '' description '' -dependency 'cloudsmith/demoplatform', '==0.1.0' +dependency 'cloudsmith/demoplatform', '==0.2.0' From 47e446a05b5771eb525942e23c778eff123f6e90 Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Thu, 15 Nov 2012 13:31:17 -0500 Subject: [PATCH 2/5] Fixing typo. --- demoapp/manifests/default.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demoapp/manifests/default.pp b/demoapp/manifests/default.pp index d373017..9a74c82 100644 --- a/demoapp/manifests/default.pp +++ b/demoapp/manifests/default.pp @@ -5,6 +5,6 @@ demoplatform::instance { 'fordemoapp': # NOTE: demo-error - location is not a parameter of demoplatform # (it should be instance_location) - location +> '/var-www/demoapp' + location => '/var-www/demoapp' } } \ No newline at end of file From ce5ddb179fb9ff74104f51f651cfcc882bcf507f Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Tue, 20 Nov 2012 10:59:41 -0500 Subject: [PATCH 3/5] Fixing errors and warnings. --- demoplatform/manifests/instance.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demoplatform/manifests/instance.pp b/demoplatform/manifests/instance.pp index 2d0e42a..2a86a07 100644 --- a/demoplatform/manifests/instance.pp +++ b/demoplatform/manifests/instance.pp @@ -5,12 +5,11 @@ define demoplatform::instance($instance_location = '/tmp') { include demoplatform::internal::prerequisites $instance_alias = $name - + exec { "demo_download-${instance_alias}": command => "curl -sS \"https://raw.github.com/cloudsmith/public-puppetmodules/master/demoplatform/README\" > ${instance_location}/README-${instance_alias}", path => ['/usr/local/bin', '/bin', '/usr/bin'], creates => "${instance_location}/README-${instance_alias}", require => Package['curl'], } - } \ No newline at end of file From b5406ddb9734280df71110ee5e4afd4d3fe02b70 Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Tue, 20 Nov 2012 13:15:58 -0500 Subject: [PATCH 4/5] update doc --- demoapp/Modulefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demoapp/Modulefile b/demoapp/Modulefile index b99d529..40e242c 100644 --- a/demoapp/Modulefile +++ b/demoapp/Modulefile @@ -6,5 +6,5 @@ license '' project_page '' source '' summary '' -description '' +description 'app module' dependency 'cloudsmith/demoplatform', '==0.2.0' From cddb40b40617e3ea5a49acd9d0b633b30bc3d861 Mon Sep 17 00:00:00 2001 From: Kenn Hussey Date: Tue, 20 Nov 2012 13:38:56 -0500 Subject: [PATCH 5/5] fixing errors --- demoapp/manifests/default.pp | 2 +- demoplatform/Modulefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demoapp/manifests/default.pp b/demoapp/manifests/default.pp index 9a74c82..efa000e 100644 --- a/demoapp/manifests/default.pp +++ b/demoapp/manifests/default.pp @@ -5,6 +5,6 @@ demoplatform::instance { 'fordemoapp': # NOTE: demo-error - location is not a parameter of demoplatform # (it should be instance_location) - location => '/var-www/demoapp' + instance_location => '/var-www/demoapp' } } \ No newline at end of file diff --git a/demoplatform/Modulefile b/demoplatform/Modulefile index 02a4d82..4933b25 100644 --- a/demoplatform/Modulefile +++ b/demoplatform/Modulefile @@ -1,5 +1,5 @@ name 'cloudsmith-demoplatform' -version '0.1.0' +version '0.2.0' author 'hlindberg' license ''