Displaying 2 results from an estimated 2 matches for "mailclean".
Did you mean:
maclean
2012 Dec 26
2
problem with restart a service when a file changes
...service to restart*
*exec { "zmamavisdctl":*
* refreshonly => true,*
* command => "/opt/zimbra/bin/zmamavisdctl",*
* subscribe => File["/opt/zimbra/conf/spamassassin/99_rules.cf"],*
*}*
*
*
*}*
*
*
*else{*
*
*
*# globals perms*
*File {*
* owner => mailcleaner,*
* group => mailcleaner,*
* mode => 644,*
*}*
*
*
*# create rules archive*
*file { "/usr/mailcleaner/share/spamassassin/99_rules.cf":*
* ensure => file,*
* source => "puppet:///modules/spam_rule/99_rules.cf",*
* }*
*
*
*# service restart*
*exec { "ma...
2024 Apr 19
2
passing a modified argument to an S3 method
Is there a way to pass a modified argument from an S3 generic to a method? Here's a non-working example that I want to return "abcd".
test <- function(x, y = NULL){
y <- "abcd"
UseMethod("test")
}
test.default <- function(x, y = NULL) y
test(x = 3)
Is that possible? I've looked around a lot, but can't find any examples or