Displaying 2 results from an estimated 2 matches for "psi_gfa".
2007 Nov 23
9
Usage of ''case'' in site.pp
Hi
Does anyone know if the following is supposed to work?
------------------------------------------------------
site.pp
case $psi_rank {
Devel: {
import "Devel/psi_gfa/*"
import "Devel/nodes"
import "Devel/os/yum_update"
}
Prod: {
import "Prod/psi_gfa/*"
import "Prod/nodes"
import "Prod/os/yum_update"
}
}
Looks like its importing both ...
err: Could not parse; using old con...
2007 Nov 21
2
I''m lost on exec
...-----------------------------------------
$testvar = "Hello world!"
class mytest {
exec { "/bin/echo $testvar" }
}
I keep getting:
err: Could not parse; using old configuration: Syntax error at ''}'';
expected ''}'' at /etc/puppet/manifests/psi_gfa/psi_gfa_all.pp:7