diff options
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/lighty.pp | 8 | ||||
-rw-r--r-- | templates/distributions.erb | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 16aa700..8c5989b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,6 +1,6 @@ class reprepro { package { - "reprepro": ensure => 'installed'; + 'reprepro': ensure => 'installed'; } file { '/usr/local/bin/reprepro-export-key': diff --git a/manifests/lighty.pp b/manifests/lighty.pp index 4e34f5e..3ac2bf4 100644 --- a/manifests/lighty.pp +++ b/manifests/lighty.pp @@ -1,11 +1,11 @@ class reprepro::lighty inherits lighttpd { include reprepro - file { "/etc/lighttpd/conf-available/20-reprepro.conf": - ensure => present, + file { '/etc/lighttpd/conf-available/20-reprepro.conf': + ensure => present, content => "alias.url += ( \"/debian/\" => \"$reprepro::basedir/\" )\n"; "/etc/lighttpd/conf-enabled/20-reprepro.conf": - ensure => "/etc/lighttpd/conf-available/20-reprepro.conf", + ensure => '/etc/lighttpd/conf-available/20-reprepro.conf', require => File['/etc/lighttpd/conf-available/20-reprepro.conf'], - notify => Service['lighttpd']; + notify => Service['lighttpd']; } } diff --git a/templates/distributions.erb b/templates/distributions.erb index b58b6ea..0e98142 100644 --- a/templates/distributions.erb +++ b/templates/distributions.erb @@ -7,7 +7,6 @@ Pull: testing Codename: stable Architectures: <%= @architectures.join(' ') %> Components: main non-free contrib -SignWith: yes Uploaders: uploaders Origin: <%= @origin %> |