Puppet 都不是';一周中的一天&x27;诺尔';哪个事件';可以在创建基于每月日期的触发器时指定
当尝试将计划触发器从按月按工作日的计划切换到按日期的计划时,在创建基于每月日期的触发器时,会出现一个错误,即“day_of_week”或“which_occurrence” 但是,我没有在新配置中使用这两个属性Puppet 都不是';一周中的一天&x27;诺尔';哪个事件';可以在创建基于每月日期的触发器时指定,puppet,Puppet,当尝试将计划触发器从按月按工作日的计划切换到按日期的计划时,在创建基于每月日期的触发器时,会出现一个错误,即“day_of_week”或“which_occurrence” 但是,我没有在新配置中使用这两个属性 Error: Neither 'day_of_week' nor 'which_occurrence' can be specified when creating a monthly date-based trigger Error: /Sta
Error: Neither 'day_of_week' nor 'which_occurrence' can be specified when creating a monthly date-based trigger
Error: /Stage[main]/Windowsupdate::Config/Scheduled_task[Run Windows Update]/trigger: change from [
{
'schedule' => 'monthly',
'months' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
'which_occurrence' => 'second',
'day_of_week' => ['saturday'],
'start_date' => '2018-8-7',
'start_time' => '13:15',
'enabled' => true,
'minutes_interval' => 80,
'minutes_duration' => 560,
'index' => 0
}] to [
{
'schedule' => 'monthly',
'start_time' => '13:15',
'months' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
'on' => 15,
'minutes_interval' => '80',
'minutes_duration' => '560'
}] failed: Neither 'day_of_week' nor 'which_occurrence' can be specified when creating a monthly date-based trigger
这似乎是计划任务模块中的错误。当我删除现有任务并再次运行代码时,它会毫无问题地应用。我同意这听起来像个bug。我相信木偶队会感激你的。好主意!对于那些对进展感兴趣的人来说,一个bug已经被发现了