Browse files

fixed user rights

  • Loading branch information...
1 parent 2f9f9b9 commit de5ce6cc302959b3dcf2c611c0794adcc2989eaa Marcel Haerry committed Jul 15, 2008
Showing with 8 additions and 2 deletions.
  1. +6 −0 manifests/init.pp
  2. +2 −2 manifests/ssl.pp
View
6 manifests/init.pp
@@ -33,6 +33,12 @@
require => Package['jetty6'],
}
+ file{'/var/log/jetty6':
+ ensure => directory,
+ owner => jetty, group => jetty, mode => 0755;
+ }
+
+
file{'/etc/default/jetty':
source => [ "puppet://$server/files/jetty/config/${fqdn}/jetty.default",
"puppet://$server/files/jetty/config/jetty.default",
View
4 manifests/ssl.pp
@@ -5,9 +5,9 @@
source => [ "puppet://$server/files/jetty/config/${fqdn}/jetty-ssl.xml",
"puppet://$server/files/jetty/config/jetty-ssl.xml",
"puppet://$server/jetty/config/jetty-ssl.xml" ],
- require => Package['jetty6'],
+ require => [ Package['jetty6'], User['jetty'] ],
notify => Service['jetty6'],
- owner => root, group => 0, mode => 0644;
+ owner => jetty, group => jetty, mode => 0644;
}
line { enable_jetty_ssl:

0 comments on commit de5ce6c

Please sign in to comment.