diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-16 22:54:11 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-16 22:54:11 +0000 |
commit | e015b0e49f29610e20c5f591348e89fbe28e3cbb (patch) | |
tree | 1b2614810a9f04fe9d1752f19f5237a7f68a67c8 /modules/buildsystem/manifests | |
parent | 1201537a4c3f58783fdf5642d2012eb6d9d5007c (diff) | |
download | puppet-e015b0e49f29610e20c5f591348e89fbe28e3cbb.tar puppet-e015b0e49f29610e20c5f591348e89fbe28e3cbb.tar.gz puppet-e015b0e49f29610e20c5f591348e89fbe28e3cbb.tar.bz2 puppet-e015b0e49f29610e20c5f591348e89fbe28e3cbb.tar.xz puppet-e015b0e49f29610e20c5f591348e89fbe28e3cbb.zip |
reindent, and fix syntax error
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r-- | modules/buildsystem/manifests/binrepo.pp | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/modules/buildsystem/manifests/binrepo.pp b/modules/buildsystem/manifests/binrepo.pp index ca3a7e55..195843df 100644 --- a/modules/buildsystem/manifests/binrepo.pp +++ b/modules/buildsystem/manifests/binrepo.pp @@ -1,42 +1,41 @@ class buildsystem::binrepo { - include buildsystem::base - include sudo - $login = 'binrepo' - $homedir = "/var/lib/$login" - $repodir = "$homedir/data" + include buildsystem::base + include sudo + $login = 'binrepo' + $homedir = "/var/lib/$login" + $repodir = "$homedir/data" - $uploadinfosdir = "$homedir/infos" - $uploadbinpath = '/usr/local/bin/upload-bin' - $uploadmail_from = "root@$::domain" - $uploadmail_to = "packages-commits@ml.$::domain" + $uploadinfosdir = "$homedir/infos" + $uploadbinpath = '/usr/local/bin/upload-bin' + $uploadmail_from = "root@$::domain" + $uploadmail_to = "packages-commits@ml.$::domain" - # used in templates - $packagers_committers_group = $buildsystem::base::packagers_committers_group + # used in templates + $packagers_committers_group = $buildsystem::base::packagers_committers_group - user { $login: - comment => 'Binary files repository', - home => $homedir, - } + user { $login: + comment => 'Binary files repository', + home => $homedir, + } - file { [$repodir, $uploadinfosdir]: - ensure => directory, - owner => $login, - } + file { [$repodir, $uploadinfosdir]: + ensure => directory, + owner => $login, + } - local_script { - 'upload-bin': - content => template('buildsystem/binrepo/upload-bin'); - 'wrapper.upload-bin': - content => template('buildsystem/binrepo/wrapper.upload-bin'); - } + local_script { + 'upload-bin': + content => template('buildsystem/binrepo/upload-bin'); + 'wrapper.upload-bin': + content => template('buildsystem/binrepo/wrapper.upload-bin'); + } - sudo::sudoers_config { 'binrepo': - content => template('buildsystem/binrepo/sudoers.binrepo') - } + sudo::sudoers_config { 'binrepo': + content => template('buildsystem/binrepo/sudoers.binrepo') + } - apache::vhost_base { "binrepo.$::domain": - location => $repodir, - content => template('buildsystem/binrepo/vhost_binrepo.conf'), - } + apache::vhost_base { "binrepo.$::domain": + location => $repodir, + content => template('buildsystem/binrepo/vhost_binrepo.conf'), } } |