[Puppet Users] puppet open source reports and inventory to Satellite 6?

2016-10-18 Thread Ryan Anderson
I'd like to use my open source puppet master (puppetserver-2.3.1-1.el7) to send reports and inventory to Satellite 6, the commercial foreman/katello from Red Hat. Puppet Labs has a report processor for PE to accomplish this (https://forge.puppet.com/puppetlabs/satellite_pe_tools), but I am unabl

Re: [Puppet Users] Default profile or role

2016-10-18 Thread Rob Nelson
Ugo, That is one way to do it. However, to use the roles and profiles pattern fully, you would `include role::base` there, which would include your base profile classes. Additionally, you would move the sudo statements into a profile class so that the include role is the ONLY line in the default n

Re: [Puppet Users] Role vs hiera

2016-10-18 Thread Matt Zagrabelny
On Tue, Oct 18, 2016 at 1:34 PM, Ugo Bellavance wrote: > Hi, > > I've seen tutorials where they add the role as a fact in an client and then > can use the role for hiera data. Is there a better way to do so (ie without > having to configure anything on the client)? As a matter of fact there is a

[Puppet Users] Puppet master log

2016-10-18 Thread Ugo Bellavance
Hi, I switched from puppet 2.7 on RHEL5 to puppet 3.8. In the 2.7 logs, I could see the agent's logs, but in 3.8, I don't. I tried changing the log_level, but it didn't change the way it logged, even at debug. How do I get back the 2.7 log behaviour? Thanks, -- You received this message be

Re: [Puppet Users] Using a module that is not 100% hiera-compliant

2016-10-18 Thread Rich Burroughs
On Tue, Oct 18, 2016 at 10:56 AM, Ugo Bellavance wrote: > However, since I can't put all the settings in hiera, I must put some in > the class declaration for the smtp frontends. When I declare the postfix > class in both my default profile and in the smtp frontend profile, I get an > error sayi

[Puppet Users] Role vs hiera

2016-10-18 Thread Ugo Bellavance
Hi, I've seen tutorials where they add the role as a fact in an client and then can use the role for hiera data. Is there a better way to do so (ie without having to configure anything on the client)? Thanks, -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet Users] Default profile or role

2016-10-18 Thread Ugo Bellavance
So if my default node looks like this: node default { class { 'sudo': } sudo::conf { 'wheel': content => '%wheel ALL=(ALL) ALL', } sudo::conf { 'defaults_mail_always': content => 'Defaultsmail_always', } } Do I simply insert include profile::base in ther

Re: [Puppet Users] Default profile or role

2016-10-18 Thread Matthew Nicholson
Yeah, agreed, my default node looks like: node default { $role=hiera('role') include $role } and the lowest priority/default-est part of my hiera hierarchy has role: role::base. other actually classified things get role set at various parts of the hierarchy as needed. On Tue, Oct 18, 2016 a

Re: [Puppet Users] Default profile or role

2016-10-18 Thread Peter Kristolaitis
There is no magic involved in roles and profiles -- they're just classes that get assigned to nodes based on the node's definition. Thus, if you want a default role assigned to the default node definition... then assign that default role to the default node definition. On 2016-10-18 01:58 P

[Puppet Users] Default profile or role

2016-10-18 Thread Ugo Bellavance
Hi, Is there an equivalent of the default node definition when using profiles and roles? Thanks, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+

[Puppet Users] Using a module that is not 100% hiera-compliant

2016-10-18 Thread Ugo Bellavance
Hi, I am using camptocamp/postfix for my postfix configuration. I originally defined all my configs manifests but now I would like to change to using hiera. Unfortunately, this module doesn't support hiera for some of the configs, so I must define many parameters in the manifests. I wanted t

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-18 Thread Peter Kristolaitis
Puppet 4 *only* uses the Java-based puppetserver. puppetmaster is was deprecated and is not supported in the current version. On 2016-10-18 01:18 PM, Ilia Ternovich wrote: Servus, Thank you very much for the answer. As I said originally -- I need puppet*_master_* 4 (not puppet*_server_*).

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-18 Thread Ilia Ternovich
Servus, Thank you very much for the answer. As I said originally -- I need puppet *master* 4 (not puppet*server*). Then there came advise to use puppetserver instead and mess around JDKs. Thanks On Tue, Oct 18, 2016 at 7:10 PM, Thomas Hager wrote: > On Mon, 2016-10-17 at 13:13 +0200, Ilia Tern

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-18 Thread Thomas Hager
On Mon, 2016-10-17 at 13:13 +0200, Ilia Ternovich wrote: > I would like to install puppet first and then manage my oracle jdk > installation with it. I don't need OpenJDK > Well, before managing anything with Puppet, you need a working puppetserver. And puppetserver has a dependency on OpenJDK, be

[Puppet Users] Re: Warning: Unable to fetch my node definition, but the agent run will continue:

2016-10-18 Thread jcbollinger
On Monday, October 17, 2016 at 10:43:44 AM UTC-5, John Gelnaw wrote: > > Some things to keep in mind for successful ENC scripts... > > First, on the agent, run: > > # facter fqdn > > This is the node name that will be reported to the puppet master > (equivalent to 'hostname -f'). > ... unless

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-18 Thread jcbollinger
On Monday, October 17, 2016 at 3:15:51 PM UTC-5, re-g...@wiu.edu wrote: > > > > On Friday, October 14, 2016 at 5:08:31 PM UTC-5, re-g...@wiu.edu wrote: >> >> >> >> On Thursday, October 13, 2016 at 9:15:58 AM UTC-5, Rob Nelson wrote: >>> >>> I've worked with saz in the past and believe he would be