0
在puppetmodule i'working MongoDB的木偶,實現虛擬資源
這裏是我(剝離下來的基礎):
模塊/的MongoDB /艙單/ virtual.pp:
class mongodb::virtual {
@package {['mongo-10gen-server','mongo-10gen']:
ensure => installed
}
模塊/的MongoDB /艙單/ replicaset.pp:
define mongodb::replicaset {
realize(Package['mongo-10gen-server','mongo-10gen'])
}
很簡單,但是當我做了puppetrunØ客戶端:
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/custom_facts.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to realize virtual resources Package[mongo-10gen-server], Package[mongo-10gen] on node mongonode
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
任何想法什麼是錯的,我的設置?