Created
May 19, 2011 23:13
-
-
Save jfryman/982008 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class rsyslog { | |
class aptsetup { | |
file { "evax-rsyslog-lucid.list": | |
ensure => "file", | |
owner => "root", | |
group => "root", | |
mode => 0644, | |
path => "/etc/apt/sources.list.d/evax-rsyslog-lucid.list", | |
source => "puppet://$puppetserver/modules/rsyslog/evax-rsyslog-lucid.list", | |
} | |
exec { rsyslog-apt-update: | |
command => "/usr/bin/apt-get -q -q update", | |
refreshonly => true, | |
subscribe => File["evax-rsyslog-lucid.list"], | |
} | |
# Need to think through best way to set sources.list to get a modern version of rsyslog-gnutls installed. | |
package { "rsyslog-gnutls": | |
ensure => "5.6.3-0ubuntu1~lucid1", | |
require => Exec['rebuild-inetd'], | |
} | |
} | |
include rsyslog::aptsetup | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment