Displaying 3 results from an estimated 3 matches for "simplevar".
2009 Jun 15
2
Help with syntax error
Hi,
I have written boxplot commands of this form before, but I don''t quite understand why the function call is reporting a syntax error in this instance. All parameters passed to the function are strings.
Thanks in advance.
Payam
> simplevar <- function(wframe,column1,column2) {
+ tframe <- get(wframe)
+ x1 <- which(names(wframe)==column1)
+ x2 <- which(names(wframe)==column2)
+ print(tframe[x1])
+ print(tframe[x2])
+ gtitle <- paste(names(tframe[x2])," vs. ", names(tframe[x1])
+ qua...
2013 Oct 25
1
replace a value in file
...my config file
/etc/default/fusioninventory-agent
MODE = daemon
and i would like replace cron by daemon
My manifest is this but is not good, can you have an idea? I think it s
Simplevers.lns is not good..
augeas { ''fusioninventory mode'':
lens => ''Simplevars.lns'',
incl => ''/etc/default/fusioninventory-agent'',
changes => [ ''set MODE daemon'' ],
}
Regards
--
You received this message because you are subscribed to the Google Groups "Puppet Users&quo...
2013 Apr 29
2
augeas
Hello
I use augeas to replace a value in a config file:
example (this example is good) :
/etc/ssh/sshd_config file
LogLevel INFO
class ssh::redhat {
augeas { "sshd_config":
context => "/files/etc/ssh/sshd_config",
changes => [
"set LogLevel VERBOSE",
],
notify => Service["sshd"],
}
This configuration is good
but how do when the