Re: [Puppet Users] undefined method platform for nil:NilClass since puppetserver upgrade

2020-07-16 Thread Becca Robinson
t; -> Yumrepo <| |> -> Package <| provider != ‘rpm' |> } else{ Yumrepo <| |> -> Package <| provider != 'rpm' |> } -- Becca Robinson > On Jul 16, 2020, at 2:14 AM, Andy Hall wrote: > > if("${rhsmtrue}" and $::operatingsystem == 'RedHat'){ &g

Re: [Puppet Users] Knocking out values

2020-03-09 Thread Becca Robinson
What version of Puppet? -- Becca > On Mar 8, 2020, at 11:48 AM, Helmut Schneider wrote: > > Am 07.03.2020 um 19:00 schrieb Becca Robinson: > >> I just ran through some testing and try putting single quotes around your >> --mpm_event in Hiera. >> host.ya

Re: [Puppet Users] Knocking out values

2020-03-07 Thread Becca Robinson
' puppet lookup --node $(hostname -f) --merge deep --knock-out-prefix '--' profiles --- webserver: apache: server: modules: enable: - status - headers - include - mpm_prefork - ssl -- Becca Robinson Senior Professional Services Engineer

Re: [Puppet Users] Knocking out values

2020-03-07 Thread Becca Robinson
It looks like it’s working as expected. You did a deep merge, so it is finding all these: common.yaml mpm_event status host.yaml headers include mpm_prefork ssl —mpm_prefork (But this one is excluded to do "knockout_prefix" => "—“,) -- Becca > On Mar 7, 2020, at 10:53 AM, Helmut Schneider

Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-26 Thread Becca Robinson
Hi Dan, I see that you have this `puppet lookup match_address --node nodename.domain.com.yaml —explain` . Might want to ditch the .yaml from the node name. -- Becca Robinson Senior Professional Services Engineer be...@puppet.com | @_itgrl_ cell: (913) 752-7084 Puppet <https://www.puppet.

Re: [Puppet Users] default production environment gets deleted by puppet-code

2019-11-22 Thread Becca Robinson
ml#configuring_code_manager> -- Becca Robinson > On Nov 22, 2019, at 7:08 AM, Claude Bisdorff wrote: > > Hello, > I recently started to test puppet enterprise. > We did the integration with gitlab to manage code. Deploying code from gitlab > works well, but each time I d

Re: [Puppet Users] Puppet : Install a .deb

2019-11-21 Thread Becca Robinson
Take a look at the package resource. https://puppet.com/docs/puppet/latest/types/package.html <https://puppet.com/docs/puppet/latest/types/package.html> Additionally if the source is not a configured repo, then you may want to use the source attribute of the package repo. -- Becca Ro

Re: [Puppet Users] Puppetforge Selinux Module Not Working

2019-10-07 Thread Becca Robinson
I do not see examples of that use case in the docs. Please review https://forge.puppet.com/puppetlabs/selinux_core <https://forge.puppet.com/puppetlabs/selinux_core> to validate your code against examples. -- Becca Robinson > On Oct 7, 2019, at 6:58 AM, Dan Crisp wrote: >