aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-11 21:20:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-11 21:20:44 -0300
commite1bc11308b66409d2d0735df5fa16261925c13c9 (patch)
treee0fcd186a45d74d527b3e59f3216d8c924b1bca2
parent6a586cbb175b71cd1be397ac0e229410836aeeae (diff)
downloadpuppet-ikiwiki-e1bc11308b66409d2d0735df5fa16261925c13c9.tar.gz
puppet-ikiwiki-e1bc11308b66409d2d0735df5fa16261925c13c9.tar.bz2
More coding style
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/instance.pp26
2 files changed, 13 insertions, 14 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 74edacd..08e4815 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -23,5 +23,4 @@ class ikiwiki(
group => root,
mode => 755,
}
-
}
diff --git a/manifests/instance.pp b/manifests/instance.pp
index a8ed0d9..6ff0443 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -1,17 +1,17 @@
define ikiwiki::instance(
- $ensure = 'present',
- $base_url = $domain,
- $description = false,
- $adminuser = 'yourname',
- $adminemail = 'me@example.org',
- $account_creation_password = false,
- $add_plugins = false,
- $disable_plugins = false,
- $protocol = 'https',
- $owner = $name,
- $group = $name,
- $home = "/home/$owner",
- $create_ssh_key = false
+ $ensure = 'present',
+ $base_url = $domain,
+ $description = false,
+ $adminuser = 'yourname',
+ $adminemail = 'me@example.org',
+ $account_creation_password = false,
+ $add_plugins = false,
+ $disable_plugins = false,
+ $protocol = 'https',
+ $owner = $name,
+ $group = $name,
+ $home = "/home/$owner",
+ $create_ssh_key = false
) {
$desc = $description ? {