:///modules/puppet_agent/puppet-report-shutdown.sh'Please qualify the command or specify a path. at /etc/puppet/environments/dev02/modules/puppet_agent/manifests/init.pp:50
文件资源没有被创建,但是
我正在尝试使用Puppet在各种系统上设置RVM。在我尝试指定使用哪个Ruby之前,一切都很好。使用Puppet exec运行rvm use 1.9.3会产生一个错误,因为'rvm不是一个函数‘,因为Puppet的exec强制所有命令都是完全限定的。如何使用Puppet通过RVM设置系统Ruby?这有可能吗?
人们有可能在最简单的测试包中创建utils.go in * _test.go ,以利用一个功能来执行跨所有_test.go的某些公共验证例程。
我尝试创建utils/utils.go并在导入为"../tests/utils"的*_test.go中创建。这种方式能够运行单独的测试,如go test sample_test.go -v或go test another_sample_test.go -v,并产生结果。任何线索都是非常感谢的。谢谢。