Allahshukur Ahmadzada
07/05/2022, 11:17 AMbastelfreak
07/05/2022, 11:29 AMbastelfreak
07/05/2022, 11:29 AMDr Bunsen Honeydew
07/05/2022, 4:45 PMrismoney
07/05/2022, 5:50 PMrismoney
07/05/2022, 5:53 PMmypackage1_version: 5.4.3.2
^ this key is elsewhere in hierarcy
package_list:
mypackage1:
ensure: %lookup mypackage1_version% #
^ how do i get it to lookup the key aboverismoney
07/05/2022, 5:54 PMGreg Bristol
07/05/2022, 5:58 PM"%{hiera('mypackage1_version')}"
is how i usually do itGreg Bristol
07/05/2022, 5:59 PMhiera()
will change the value of the key to a string, if you want to keep the datatype of the value you have to use alias()
CVQuesty
07/05/2022, 6:00 PMpuppet lookup
has replaced hiera()
rismoney
07/05/2022, 6:02 PMensure: "%{lookup('mypackage1_version')}"
as I am on 7rismoney
07/05/2022, 6:02 PMrismoney
07/05/2022, 6:05 PMnatemccurdy
07/05/2022, 6:15 PMnatemccurdy
07/05/2022, 6:15 PMrismoney
07/05/2022, 6:19 PMEWill
07/05/2022, 6:47 PMSlackbot
07/05/2022, 6:53 PMEWill
07/05/2022, 7:17 PMfile content
as this was affecting the whole environment I decided to convert all the template files.. .I think the problem is with VSCODE
As I am updating the code using vscode thought pull-request and so for the file is coming wrong from my pull-request .. so I converted the whole three of file inside this module and the problem looks fixed.romil surti
07/06/2022, 3:47 PMSlackbot
07/06/2022, 4:07 PMromil surti
07/06/2022, 4:07 PMSlackbot
07/07/2022, 3:59 AMYehuda Katz
07/07/2022, 3:59 AMYehuda Katz
07/07/2022, 4:00 AMSlackbot
07/07/2022, 1:41 PMSlackbot
07/07/2022, 3:26 PMBrian Schonecker
07/07/2022, 3:58 PMSlackbot
07/07/2022, 5:01 PMvchepkov
07/07/2022, 5:03 PM