Re: [Puppet Users] Enc forcing environment even passed via command line

2023-01-13 Thread Tejas Bhosale
not have an > environment entry set by the ENC. > This will allow the agent to switch to any environment. > > Hth, > Martin > > > On 13. Jan 2023, at 08:37, Tejas Bhosale wrote: > > I am using self written script took as ref from here > > > https://github.

Re: [Puppet Users] Enc forcing environment even passed via command line

2023-01-12 Thread Tejas Bhosale
sing? PE? Foreman? A self written script? Something > different? > > Martin > > > On 12. Jan 2023, at 08:20, Tejas Bhosale wrote: > > Hi, > I have enc script which when executed in output it post environemnt. > > But for some host when i want to test my changes i w

[Puppet Users] Enc forcing environment even passed via command line

2023-01-11 Thread Tejas Bhosale
Hi, I have enc script which when executed in output it post environemnt. But for some host when i want to test my changes i want to pass -E on command line like puppet agent -t -E test but that is override by env it gives either development or production env . Can we do anything to fix this

[Puppet Users] Hiera value and using looping on it

2021-12-16 Thread Tejas Bhosale
Hi, I have heira value as an example as ``` profile::candy::virtualhosts: abc.example.com: listen: '80' location: [v1, v2] backend_port: [3000, 3001] ``` Can anyone tell me how can i loop it to create nginx config along with locations setup i am able to create virtual host config