Re: [Puppet Users] Use resource only if a tag is given at the command line

2019-01-21 Thread Martin Alfke
Hi Karsten, you can introduce a fact and provide the fact on cli when starting the puppet agent run: In your Puppet code: if $facts['foo'] { package { 'foo' ensure => 'latest', } } On CLI: FACTER_foo=true puppet agent --test I hope that this a solution which is working for you. Best, Martin On

[Puppet Users] Problem with adding apt repo source

2019-01-21 Thread Jochen Haeberle
Hi, I am trying to add PHP 7.3 to some of my debian 9 boxes. I am using puppetlabs/apache to setup apache and PHP. I want to add an apt repo (sury.org) with PHP 7.3 to the system. I am using puppetlabs/apt for that I am having problems to first add the repo, run apt update and then setup apach

Re: [Puppet Users] A GUI tool for Hiera

2019-01-21 Thread desertkun
Thank you for such detailed feedback. It all makes sense now. I have pushed an update that makes the editor to support hierarchy. It now shows on what level of hierarchy each property of the class is defined (by color-coding) [im

[Puppet Users] Re: A GUI tool for Hiera

2019-01-21 Thread glenn . sarti
This is VERY VERY interesting... I'm one of the people you maintains the VSCode Puppet extension, and there seems to be some nice cross over here. (I see you develop using VSCode so hopefully you're aware of it :-) ) In particular offering a GUI experience to modifying Hiera data, combined wit