diff options
author | Adrien Thebo <adrien.thebo@gmail.com> | 2011-05-24 08:43:13 -0700 |
---|---|---|
committer | Adrien Thebo <adrien.thebo@gmail.com> | 2011-05-24 08:43:13 -0700 |
commit | 26dc2c63d1f07b04cd4e639f40cc651aacb2ce54 (patch) | |
tree | dd7e01a9a947496a6713e15c75d0596034b92ede /manifests | |
parent | c9e633c9483f2d0f1a69d380897354b11dbc4a35 (diff) |
Miscellaneous fixes.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 | ||||
-rw-r--r-- | manifests/settings.pp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d3dcfdf..fbe5610 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -10,6 +10,8 @@ # class gitweb { + include gitweb::settings + package { "gitweb": ensure => present, } @@ -23,7 +25,7 @@ class gitweb { require => Package["gitweb"], } - apache::vhost { "$site_alias": + apache::vhost { "$gitweb::settings::site_alias": priority => "10", port => "443", ssl => true, diff --git a/manifests/settings.pp b/manifests/settings.pp index ba31247..49317db 100644 --- a/manifests/settings.pp +++ b/manifests/settings.pp @@ -8,7 +8,7 @@ # # Sample Usage: # -class gitweb::settings ( - $site_alias = "gitweb", +class gitweb::settings ( + $site_alias = "gitweb" ) { } |