【发布时间】:2014-01-27 05:52:09
【问题描述】:
我正在按照this 指南在 Opsworks 中创建自定义 Postgresql 层,以便为我的 Ruby on Rails 应用程序构建服务器。我正在使用博客文章中提供的这个自定义 JSON:
{
"postgresql" : {
"password" : {
"postgres" : "unhackablepassword"
},
"contrib" : {
"packages" : ["postgresql-contrib-9.2"],
"extensions" : ["hstore"]
}
}
}
使用以下自定义食谱 (git://github.com/growthrepublic/cookbooks.git)
- postgresql::contrib
- postgresql::ruby
- postgresql::server
- postgresql
实例设置失败并显示以下错误消息:
[2014-01-08T20:36:49+00:00] FATAL: Chef::Exceptions::Package: package[postgresql-contrib-9.2] (postgresql::contrib line 24) had an error: Chef::Exceptions::Package: No version specified, and no candidate version available for postgresql-contrib-9.2
我是 Chef 和 Opsworks 的新手,有人知道为什么会失败吗?
谢谢! 弗朗西斯
【问题讨论】:
-
你试过运行 apt-get update 吗?
-
您找到解决方案了吗?
-
@enricostn 不,不幸的是......
-
您找到解决方案了吗?
-
@Rob3 nope 好久没看问题了...
标签: amazon-web-services chef-infra aws-opsworks