Skip to content

Commit

Permalink
Simplified puppet manifest by just assuming that the git repo is chec…
Browse files Browse the repository at this point in the history
…ked out to /var/htmlpad and pointing apache config files directly to subdirectories of it.
  • Loading branch information
toolness committed Mar 29, 2011
1 parent 27a1b41 commit 2aa5a85
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions deployment/htmlpad.pp
@@ -1,8 +1,8 @@
$site = 'htmlpad.org'
$etherpad = 'etherpad.mozilla.org:9000'
$rootDir = '/home/atul/htmlpad'
$rootDir = '/var/htmlpad'
$apacheDir = '/etc/apache2'
$varDir = "/var/$site"
$varDir = "$rootDir/$site"
$wsgiDir = "$varDir/wsgi-scripts"
$staticFilesDir = "$varDir/static-files"

Expand Down Expand Up @@ -30,8 +30,3 @@
ensure => link,
target => "$apacheDir/sites-available/$site"
}

file { "$varDir":
ensure => link,
target => "$rootDir/$site"
}

0 comments on commit 2aa5a85

Please sign in to comment.