Re: [Puppet Users] Re: Hiera value not being passed

2019-10-03 Thread Jagga Soorma
3, 2019 at 2:47:25 AM UTC-7, Henrik Lindberg wrote: > > On 2019-10-02 23:21, Jagga Soorma wrote: > > Looks like I figured it out. I was passing the hiera variable > > incorrectly. Changed from > > > > passing in to class > > String $nodetype, > > to

[Puppet Users] Re: Hiera value not being passed

2019-10-02 Thread Jagga Soorma
Looks like I figured it out. I was passing the hiera variable incorrectly. Changed from passing in to class String $nodetype, to $nodetype=hiera('nodetype') that seems to have done the trick. On Wed, Oct 2, 2019 at 1:39 PM Jagga Soorma wrote: > > Hello, > > I am testin

[Puppet Users] Hiera value not being passed

2019-10-02 Thread Jagga Soorma
Hello, I am testing out hiera and trying to pass some hiera values to a module so that it can do specific tasks for a given node which does not seem to be working. Here is my setup: -- # puppet lookup --hiera_config=/root/test/puppetlabs/code/environments/production/hiera.yaml nodetype --- mgmt

[Puppet Users] yum group install issue

2018-04-26 Thread Jagga Soorma
Hello, This is a n00b question :) I am trying to use the puppet-yum module from the forge (https://forge.puppet.com/puppet/yum) and have added the following to my yaml file: -- classes: - yum yum::group: 'GNOME Desktop': ensure: present timeoute: 600 -- However, now when I do a p

Re: [Puppet Users] Puppet hiera variable

2018-04-04 Thread Jagga Soorma
it as an array, and since > puppet treats all non-boolean values (other than undef) as true, you will > never get to the else block. > > — > Peter > > On Apr 3, 2018, at 10:13 PM, Jagga Soorma > > wrote: > > Hi Guys, > > I am using foreman and puppet to pro

[Puppet Users] Puppet hiera variable

2018-04-03 Thread Jagga Soorma
Hi Guys, I am using foreman and puppet to provision/manage systems. I have a simple motd module that I was using for all my systems but now have a need to setup a different motd for a specific hostgroup/type of systems. So, I though I would use the hostgroup hiera setup from foreman/puppet to

[Puppet Users] saz-sudo puppet module question

2017-08-14 Thread Jagga Soorma
Hi Guys, I am trying to use the saz-sudo (https://forge.puppet.com/saz/sudo) puppet module from the forge to manage our sudoers config and things have been going good so far. However, I now have the need to disable the "Defaultssecure_path = /sbin:/bin:/usr/sbin:/usr/bin" line but don't seem

[Puppet Users] Unable to use logrotate puppet forge module

2017-08-08 Thread Jagga Soorma
Hi Guys, I am trying to use this logrotate puppet module from the forge (https://forge.puppet.com/puppet/logrotate) and seems like it updates my logrotate.conf file without any issues. However, I am now trying to add a new logrotate.d rule using hiera and it does not do anything and I was wonderi

[Puppet Users] Re: Trying to get puppet module from the forge

2017-01-18 Thread Jagga Soorma
Try 0.2.2 > instead. > https://github.com/Aethylred/puppet-postfix/releases > > -f > > > On Wednesday, January 18, 2017 at 2:17:34 PM UTC-5, Jagga Soorma wrote: >> >> Hi Guys, >> >> >> I sync a few puppet modules from the forge using r10k without any

[Puppet Users] Trying to get puppet module from the forge

2017-01-18 Thread Jagga Soorma
Hi Guys, I sync a few puppet modules from the forge using r10k without any issues. However, recently I tested with 2 postfix modules and now everytime I try to sync one locally it fails with the following error and never shows that module local in my modules dir: -- INFO -> Deploying Puppetfi

[Puppet Users] Trying to use a puppet forge module with hiera

2016-09-25 Thread Jagga Soorma
Hi Guys, I am still trying to learn puppet/hiera, so apologize for this simple question. I am trying to use the https://forge.puppet.com/Aethylred/kerberos/ module with my new puppet installation and running into some issues with the way I am adding it to my yaml file. So basically when setting

Re: [Puppet Users] heira debug not working

2016-09-25 Thread Jagga Soorma
Thanks for the reply Rob. That seemed to be the problem. -- 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+unsubscr...@googlegroups.com. To view th

[Puppet Users] Trying to use a puppet forge module with hiera

2016-09-25 Thread Jagga Soorma
Hi Guys, I am still trying to learn puppet/hiera, so apologize for this stupid question. I am trying to use the https://forge.puppet.com/Aethylred/kerberos/ module with my new puppet installation and running into some issues with the way I am adding it to my yaml file. So basically when setting

[Puppet Users] heira debug not working

2016-09-24 Thread Jagga Soorma
Hi Guys, I am new to hiera and can't seem to get the debug command to work for hiera. Seems like it is not picking up the environment variable even when I specify it on cli: -- [root@resforetst01 ~]# grep -i testkey /etc/puppet/environments/production/hieradata/common.yaml testkey: hello [root@

[Puppet Users] Puppet hiera error

2016-09-23 Thread Jagga Soorma
Hi Guys, I am trying to setup a new puppet environment using hiera and have everything setup. However, when I do a puppet agent run I get the following error: -- Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item classes in any Hiera data file and

[Puppet Users] Re: puppet agent 3.0.2-1 on EL7 install error

2015-11-21 Thread Jagga Soorma
Thanks for the replies. So since my puppet server is still at 3.0.x and the client requires at least 3.5 due to CentOS would that be supported? I think the puppet agent can't be newer than the server. I don't want to upgrade my server version and if this is true then looks like will have to

[Puppet Users] puppet agent 3.0.2-1 on EL7 install error

2015-11-20 Thread Jagga Soorma
Hi Guys, I am running puppet server version 3.0.2-1 and now have a need to support CentOS/RHEL 7.x as a agent. I got puppet rpms built but when I try to install it on the client I am running into some ruby related errors: -- # yum localinstall ../RPMS/noarch/puppet-3.0.2-1.el7.centos.noarch.rp

Re: [Puppet Users] Re: Intermittent Erorr 400 on Server messages

2013-02-26 Thread Jagga Soorma
ppet. > > El dilluns 25 de febrer de 2013 22:03:18 UTC+1, Jagga Soorma va escriure: > >> Hi Guys, >> >> I am running puppet server version 3.0.2-1 on a RHEL 5.8 virtual machine >> with about 110 clients. I am seeing intermittent errors with my clients >>

Re: [Puppet Users] Intermittent Erorr 400 on Server messages

2013-02-26 Thread Jagga Soorma
urg...@gmail.com> wrote: > On Mon, Feb 25, 2013 at 9:03 PM, Jagga Soorma wrote: > > Hi Guys, > > > > I am running puppet server version 3.0.2-1 on a RHEL 5.8 virtual machine > > with about 110 clients. I am seeing intermittent errors with my clients > > that are fa

[Puppet Users] Intermittent Erorr 400 on Server messages

2013-02-25 Thread Jagga Soorma
Hi Guys, I am running puppet server version 3.0.2-1 on a RHEL 5.8 virtual machine with about 110 clients. I am seeing intermittent errors with my clients that are failing with the following error messages: -- Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find c

[Puppet Users] Re: Puppet dashboard stuck pending jobs

2013-02-10 Thread Jagga Soorma
into this issue. Thanks. On Sunday, February 10, 2013 10:56:14 AM UTC-8, Jagga Soorma wrote: > > Thanks for pointing me to the log location. Looks like this might be the > cause of the problem: > > -- > ..snip > 2013-02-10T10:40:35-0800: [Worker(delayed_job.3 host:ss

[Puppet Users] Re: Puppet dashboard stuck pending jobs

2013-02-10 Thread Jagga Soorma
e it to accept larger data? Has anyone seen this issue before? Thanks again for your help with this. On Friday, February 8, 2013 1:53:02 PM UTC-8, Jagga Soorma wrote: > > Hi Guys, > > I am a new puppet user and wanted some type of monitoring for puppet so > deployed puppet-da

Re: [Puppet Users] Puppet dashboard stuck pending jobs

2013-02-09 Thread Jagga Soorma
Anyone out there run into this issue before or have any idea about how to troubleshoot such a problem? Any help would be appreciated. I can't keep rebuilding puppet dashboard every time this happens. Thanks On Friday, February 8, 2013 2:37:55 PM UTC-8, Jagga Soorma wrote: > &g

Re: [Puppet Users] Puppet dashboard stuck pending jobs

2013-02-08 Thread Jagga Soorma
en "service puppet-dashboard-workers status" will tell you. > > On Feb 8, 2013, at 1:53 PM, Jagga Soorma wrote: > > I am a new puppet user and wanted some type of monitoring for puppet so > deployed puppet-dashboard. It has been working very well for a few days > not, but

[Puppet Users] Puppet dashboard stuck pending jobs

2013-02-08 Thread Jagga Soorma
Hi Guys, I am a new puppet user and wanted some type of monitoring for puppet so deployed puppet-dashboard. It has been working very well for a few days not, but all of a sudden I start getting pending tasks and they never finish even after restarting all processes. They keep accumulating and

[Puppet Users] Re: Unable to send puppet reports to foreman

2013-02-07 Thread Jagga Soorma
Nevermind, got it to work. Looks like I messed up the renaming of that file. I moved it to foreman.rb instead of foreman-report.rb and seems to be working now. Will try some other things and see how this works. Thanks. On Thursday, February 7, 2013 1:52:18 PM UTC-8, Jagga Soorma wrote

[Puppet Users] Unable to send puppet reports to foreman

2013-02-07 Thread Jagga Soorma
Hi Guys, I am a new puppet user and trying to see the different options for reporting. I was able to setup and use puppet-dashboard just fine but can't seem to now get reports sent to foreman. Here is what my setup looks like: puppet server: ssfpuppetd01 foreman server: ssftmand01 I have co

[Puppet Users] Unable to send puppet reports to foreman

2013-02-07 Thread Jagga Soorma
Hi Guys, I am a new puppet user and trying to see the different options for reporting. I was able to setup and use puppet-dashboard just fine but can't seem to now get reports sent to foreman. Here is what my setup looks like: puppet server: ssfpuppetd01 foreman server: ssftmand01 I have co

Re: [Puppet Users] Problems building puppet 3.x for SLES

2012-12-26 Thread Jagga Soorma
:12 from /usr/bin/puppet:3:in `require' from /usr/bin/puppet:3 -- Not really sure where to go from here. Regards, -J On Wed, Dec 26, 2012 at 10:51 PM, Jagga Soorma wrote: > Okay, so now I am running into more problems. I installed the new puppet > rpm without any issues,

Re: [Puppet Users] Problems building puppet 3.x for SLES

2012-12-26 Thread Jagga Soorma
However, rubygem(rake) is installed: rubygem-rake-0.8.3-1.20 Any help would be greatly appreciated. Thanks, -J On Wed, Dec 26, 2012 at 10:36 PM, Jagga Soorma wrote: > Thanks for providing that spec file, lead me to add the following to the > files section of my spec file: > > %{

Re: [Puppet Users] Problems building puppet 3.x for SLES

2012-12-26 Thread Jagga Soorma
file. Regards, -J On Wed, Dec 26, 2012 at 10:03 PM, banuchka wrote: > Hi, > > try this SPEC https://dl.dropbox.com/u/21671126/puppet-badoo.spec > and that source https://dl.dropbox.com/u/21671126/puppet-3.0.1.tar.gz > > works fine on sles 11.* > > > On Dec 27, 201

Re: [Puppet Users] Problems building puppet 3.x for SLES

2012-12-26 Thread Jagga Soorma
Owens wrote: > Which part isn't working for you? What have you tried? Are you > building locally on a sles box or using something like open build > service? > > On Wed, Dec 26, 2012 at 7:53 PM, Jagga Soorma wrote: > > Hi Guys, > > > > I am new to puppet and hav

[Puppet Users] Problems building puppet 3.x for SLES

2012-12-26 Thread Jagga Soorma
Hi Guys, I am new to puppet and have a mix of both RHEL5.x and SLES11.x servers in my environment. I have been able to build the puppet client with some modifications on RHEL5.x with the spec files just fine but can't seem to build for SLES11.x. I was wondering if anyone here is using the pup

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
# } } } } class oracle_password { file { "/etc/shadow": ensure => present, } line { oracle_passwd: file => "/etc/shadow", line => 'oracle:$1$aa8QIjTa$tu0gVzq94iPqdj1YMKMKu0:15695:0:9:7:::', } } Regards, -J On Thursday, Dec

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
rd** - The user's password, in whatever encrypted format the >> local system requires. >> >> To get all this working as you want, you may need to ensure that your >> operating systems authentication configuration (ie, PAM) checks for >> authentication in the ri

[Puppet Users] Re: Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
cks for > authentication in the right order, ie, local passwords, then kerberos, and > you should test this carefully to make sure you dont get undesired results. > > Hope this helps, > > K > > > On Thursday, December 20, 2012 11:04:47 PM UTC, Jagga Soorma wrote: >>

[Puppet Users] Manage a specific users shadow file entry

2012-12-20 Thread Jagga Soorma
Hi Guys, I am new to puppet and trying to figure out what is the best way to manage a password for a specific user in the /etc/shadow file. Most of my users are being authenticated to kerberos but there is a need to set a local password for this one account. What would be the best method to d

Re: [Puppet Users] New Puppet User: Issues with pre-commit script

2012-12-14 Thread Jagga Soorma
ld not intialize global default settings: couldn't find HOME environment -- expanding `~/.puppet' -- Regards, -J On Friday, December 14, 2012 2:49:11 AM UTC-8, Matthew Burgess wrote: > > On Fri, Dec 14, 2012 at 2:00 AM, Jagga Soorma > > wrote: > > > #!/bin/bash &

[Puppet Users] New Puppet User: Issues with pre-commit script

2012-12-13 Thread Jagga Soorma
Hi Guys, I am new to puppet so please let me know if this is not the correct place for asking this question. I am setting up a new puppet environment running the latest 3.x version. I have the puppet master and client setup correctly and tested with deploying a simple file to the client. Now