From c568a24d76039e9a04cab017f727f437966bd6da Mon Sep 17 00:00:00 2001 From: Niklaus Hofer Date: Sun, 19 Sep 2021 19:30:03 +0200 Subject: [PATCH] Fix formatting issues. --- manifests/community_modules.pp | 4 ++-- manifests/config.pp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/community_modules.pp b/manifests/community_modules.pp index 37a15a9..796284d 100644 --- a/manifests/community_modules.pp +++ b/manifests/community_modules.pp @@ -9,7 +9,7 @@ case $type { 'hg': { $_packages = ['mercurial'] } 'git': { $_packages = ['git'] } - 'portage': { $_packages = ['net-im/prosody-modules' ] } + 'portage': { $_packages = ['net-im/prosody-modules'] } default: { $_packages = [] } } ensure_packages($_packages) @@ -21,7 +21,7 @@ provider => $type, source => $source, revision => $revision, - require => Package[ $_packages ], + require => Package[$_packages], } } } diff --git a/manifests/config.pp b/manifests/config.pp index ac956c7..27c5c98 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -1,7 +1,7 @@ # == Class: prosody::config class prosody::config( Stdlib::Absolutepath $config_directory, -){ +) { file { "${config_directory}/conf.avail": ensure => directory, }