厨师长IIS食谱三十二位选项不起作用
我有一个资源块来创建应用程序池,将32位选项设置为true,并分配用户名和密码厨师长IIS食谱三十二位选项不起作用,iis,chef-infra,cookbook,Iis,Chef Infra,Cookbook,我有一个资源块来创建应用程序池,将32位选项设置为true,并分配用户名和密码 iis_pool 'CPool' do runtime_version "2.0" pipeline_mode :"Classic" recycle_after_time "0" thirty_two_bit true pool_username "testuser" pool_password "testpd" action :add 它创建了一个应用程序池,但以下选项不起作用 recycle_after_tim
iis_pool 'CPool' do
runtime_version "2.0"
pipeline_mode :"Classic"
recycle_after_time "0"
thirty_two_bit true
pool_username "testuser"
pool_password "testpd"
action :add
它创建了一个应用程序池,但以下选项不起作用
recycle_after_time "0"
thirty_two_bit true
pool_username "testuser"
pool_password "testpd"
我想知道这是不是一只虫子。任何关于这一点的注释都是值得赞赏的-Eben您正在将两种不同的操作混合在一起。查看时,我可以看出您希望同时调用
:add
来创建池,然后调用:config
来执行其余操作。因此,将其分解为:
iis_pool 'CPool' do
runtime_version "2.0"
pipeline_mode :"Classic"
action :add
iis_pool 'CPool' do
recycle_after_time "0"
thirty_two_bit true
pool_username "testuser"
pool_password "testpd"
action :config
在iis opscode cookbook的v3.0.0(alpha)版本中,不再需要此功能:add命令将在初始阶段正确设置它。