Permalink
Browse files

fix class names syslog -> syslog-ng

  • Loading branch information...
1 parent 31ab1c3 commit ef61bd24dbad532af743bce0fb0f8c009fdc5857 @francois-c2c francois-c2c committed Mar 11, 2009
Showing with 11 additions and 7 deletions.
  1. +6 −2 README
  2. +2 −2 manifests/classes/base.pp
  3. +3 −3 manifests/classes/server.pp
View
8 README
@@ -4,7 +4,11 @@ syslog puppet module
This module configures syslog-ng both as a client or as a server.
# Syslog client
-include syslog
+include syslog-ng
# Syslog server
-include syslog::server
+include syslog-ng::server
+
+Attributes:
+
+ $syslog_server
@@ -1,4 +1,4 @@
-class syslog {
+class syslog-ng {
package {"syslog-ng":
ensure => installed,
}
@@ -11,7 +11,7 @@
file {"/etc/syslog-ng/syslog-ng.conf":
ensure => present,
- content => template("syslog/syslog-ng.client.conf.erb"),
+ content => template("syslog-ng/syslog-ng.client.conf.erb"),
require => Package["syslog-ng"],
}
}
@@ -1,11 +1,11 @@
-class syslog::server inherits syslog {
+class syslog-ng::server inherits syslog-ng {
package {"logrotate":
ensure => installed,
}
File["/etc/syslog-ng/syslog-ng.conf"] {
ensure => present,
- content => template("syslog/syslog-ng.server.conf.erb"),
+ content => template("syslog-ng/syslog-ng.server.conf.erb"),
}
# Log repository
@@ -21,7 +21,7 @@
# Log rotation
file {"/etc/logrotate.d/logserver":
ensure => present,
- content => template("syslog/logserver.logrotate.erb"),
+ content => template("syslog-ng/logserver.logrotate.erb"),
require => Package["logrotate"],
}
}

0 comments on commit ef61bd2

Please sign in to comment.