我在google云平台中自动化磁盘,并使用puppet来实现。但是在实例上添加磁盘的旧参数不起作用。当我粘贴一条错误消息时,您是否知道:
Error: Invalid parameter boot_disk_type on Gce_instance[new-instance] at /etc/puppet/manifests/gce.pp:9 on node automation以下是我的清单的输出:
gce_instance { 'new-instance':
ensure => present,
machine_type => 'g1-small',
zone => 'us-central1-a',
network => 'default',
tags => ['apache', 'web'],
image => 'https://www.googleapis.com/compute/v1/projects/centos-cloud/global/images/centos-6-v20150710',
modules => ['puppetlabs-apache', 'puppetlabs-stdlib',]
boot_disk_type => 'pd-ssd',
size_gb => '50',
}发布于 2015-08-19 22:06:38
在您正在使用的puppetlabs/puppetlabs-gce_compute的自述文件中,没有boot_disk_type属性。但是,有一个boot_disk属性。试着用它来代替。
https://stackoverflow.com/questions/32068417
复制相似问题