Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Shirish Shukla
There should be inbuilt function to achieve so, as its very basic functionality every bolt user expect. On Tue, 11 Feb 2020 at 9:03 PM, Alex Dreyer wrote: > > > On Tue, Feb 11, 2020 at 7:24 AM Shirish Shukla > wrote: > >> What about if puppet agent not installed on target >> Is there any way we

Re: [External] Re: [Puppet Users] legitimate puppet code?

2020-02-11 Thread John Warburton
May I highly recommend Visual Studio Code with the puppet plugin - it picks up also sorts of things like this before you even start testing your code A huge leap in productivity for me! John On Wed, 12 Feb 2020 at 01:43, 'Prentice Bisbal' via Puppet Users < puppet-users@googlegroups.com> wrote:

[Puppet Users] Re: PDK 1.16.0 now available

2020-02-11 Thread Puppet Product Updates
[sad trombone] It turns out the macOS package manager doesn't update the permissions of existing files if that is the only change, so if you have previously installed the broken package (1.16.0.1) you will need to completely uninstall the old package before installing the fixed package (1.16.0.2).

[Puppet Users] Re: PDK 1.16.0 now available

2020-02-11 Thread Jesse Scott
On macOS, there was a permissions issue in the PDK 1.16.0 packages (released as PDK 1.16.0.1) which prevented most PDK commands from executing. PDK 1.16.0.2, a new release that addresses the permissions issue, is now available. This release contains no other changes. We're sorry for the inconveni

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Kevin Reeuwijk
If you target the remote node (that doesn't have a Puppet agent) with an apply() block in a Bolt plan, the prereq apply_prep($nodes) step will install the Puppet agent binaries on that node for you. This allows you to still leverage all the functionality, without activating the agent. Kind regard

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Alex Dreyer
On Tue, Feb 11, 2020 at 7:24 AM Shirish Shukla wrote: > What about if puppet agent not installed on target > Is there any way we can use epp file > There are a few options - You can target localhost for the apply to create the file locally and then use upload_file to copy it. - You can write a t

[Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Shirish Shukla
What about if puppet agent not installed on target Is there any way we can use epp file On Monday, 16 September 2019 21:51:05 UTC+5:30, Andy Hall wrote: > > hey there just starting using bolt and has a simple plan which applies a > manifest but I'd know like to write a dynamic file from a templa

Re: [External] Re: [Puppet Users] legitimate puppet code?

2020-02-11 Thread 'Prentice Bisbal' via Puppet Users
Yup, that fixed it. Thanks for the help. Prentice On 2/10/20 4:53 PM, Ramin K wrote: Looks like single quoting params is causing the problem. This passes validation   class { 'cis::iptables::configure':     level => $level,     type  => $type,     roles => $roles,   } Ramin On 2/10/2020 12: