我在运行
时收到以下错误$puppet agent --test
$err: Could not retrieve catalog from remote server: Error 400 on SERVER: Must pass rails_var2 to Class[class_name] at /etc/puppet/modules/module_name/manifests/init.pp:1 on node node_name
而我所看到的是init.pp确实将rails_var2传递给了class_name。
class class_name ( $rails_var, $rails_var2 )
在apache :: vhost
中定义apache::vhost { "somename.${rails_var}":
...
variable_app_env => $rails_var2
这里可能出现什么问题?