Despoina Ioannidi
02/17/2023, 3:05 PMSlackbot
02/18/2023, 6:47 PMPhi Do Phuong (Jacky)
02/19/2023, 11:03 AMbus_name: T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}
and i wanna replace the ${server} with another value:
def bus_name=(_value)
modified_bus_name = resource[:bus_name].gsub("\${server}", resource[:server]) if resource[:bus_name]
modify_spec('busName', modified_bus_name.to_s)
end
It can be replaced correctly but puppet always run due to the should value is ${server} instead of Server01c, log here:
Notice: /Stage[main]/Websphere_application_server::Websphere_jms_connection_factories/Websphere_jms_connection_factories[Server01c]/bus_name: bus_name changed 'T24Busdc-corep10-app03SERVICE_ONLINE_NodeServer01c' to 'T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}' (corrective)
Please kindly advice me to change the should value for idempotent purposePhi Do Phuong (Jacky)
02/19/2023, 11:08 AMbus_name: T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}
and i wanna replace the ${server} with another value:
• def bus_name=(_value)
modified_bus_name = resource[:bus_name].gsub("\${server}", resource[:server]) if resource[:bus_name]
modify_spec('busName', <http://modified_bus_name.to|modified_bus_name.to>_s)
end
It can be replaced correctly but puppet always run due to the should value is ${server}, log here:
Notice: /Stage[main]/Websphere_application_server::Websphere_jms_connection_factories/Websphere_jms_connection_factories[Server01c]/bus_name: bus_name changed 'T24Busdc-corep10-app03SERVICE_ONLINE_NodeServer01c' to 'T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}' (corrective)
Please kindly advice me to change the should value for idempotent purposePhi Do Phuong (Jacky)
02/19/2023, 11:09 AMbus_name: T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}
and i wanna replace the ${server} with another value:
• def bus_name=(_value)
modified_bus_name = resource[:bus_name].gsub("\${server}", resource[:server]) if resource[:bus_name]
modify_spec('busName', <http://modified_bus_name.to|modified_bus_name.to>_s)
end
It can be replaced correctly but puppet always run due to the should value is ${server} instead of Server01c, log here:
Notice: /Stage[main]/Websphere_application_server::Websphere_jms_connection_factories/Websphere_jms_connection_factories[Server01c]/bus_name: bus_name changed 'T24Busdc-corep10-app03SERVICE_ONLINE_NodeServer01c' to 'T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}' (corrective)
Please kindly advice me to change the should value for idempotent purposePhi Do Phuong (Jacky)
02/19/2023, 11:12 AMbus_name: T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}
and i wanna replace the ${server} with another value:
def bus_name=(_value)
modified_bus_name = resource[:bus_name].gsub("\${server}", resource[:server]) if resource[:bus_name]
modify_spec('busName', modified_bus_name.to_s)
end
It can be replaced correctly but puppet always run due to the should value is ${server} instead of Server01c, log here:
Notice: /Stage[main]/Websphere_application_server::Websphere_jms_connection_factories/Websphere_jms_connection_factories[Server01c]/bus_name: bus_name changed 'T24Busdc-corep10-app03SERVICE_ONLINE_NodeServer01c' to 'T24Busdc-corep10-app03SERVICE_ONLINE_Node${server}' (corrective)
Please kindly advice me to change the should value for idempotent purposeSlackbot
02/19/2023, 11:15 AMSlackbot
02/20/2023, 8:05 AMSlackbot
02/20/2023, 11:09 AMzipkid
02/20/2023, 11:45 AMruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
It does happen on
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]
and
ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5) [x86_64-darwin22]Slackbot
02/20/2023, 11:21 PMbrokencode
02/21/2023, 9:34 AMCVQuesty
02/21/2023, 1:54 PMbrokencode
02/21/2023, 1:54 PMbrokencode
02/21/2023, 1:55 PMCVQuesty
02/21/2023, 1:56 PMbrokencode
02/21/2023, 1:56 PMbrokencode
02/21/2023, 1:58 PMYury Bushmelev
02/21/2023, 2:26 PMSlackbot
02/21/2023, 2:27 PMbrokencode
02/21/2023, 2:34 PMCVQuesty
02/21/2023, 2:37 PMCVQuesty
02/21/2023, 2:38 PMYury Bushmelev
02/21/2023, 2:40 PMSlackbot
02/21/2023, 2:41 PMAlonso Muñoz
02/21/2023, 2:41 PMCVQuesty
02/21/2023, 2:46 PMCVQuesty
02/21/2023, 2:46 PMCVQuesty
02/21/2023, 2:48 PM