[Puppet Users] ssh_authorized_key in 2.7.10 keeps looping when options are set

2012-01-27 Thread rvlinden
Hi all, I just upgraded a client with puppet 2.7.9 to 2.7.10 and now the authorized_keys started to loop notice: /Stage[main]/Authorizedkey::UserX/ Authorizedkey::Manage[userx_dss_domainx_test]/ Ssh_authorized_key[userx_dss_domainx_test]/options: options changed 'no-port-forwarding,no-agent-forwa

[Puppet Users] Re: ssh_authorized_key in 2.7.10 keeps looping when options are set

2012-01-27 Thread rvlinden
Thanks I run puppet on RHEL5 with Ruby 1.8.7 On Jan 27, 4:56 pm, Nan Liu wrote: > On Fri, Jan 27, 2012 at 10:27 AM, rvlinden > > > > > > wrote: > > Hi all, > > > I just upgraded a client with puppet 2.7.9 to 2.7.10 and now the > > authorized_keys

[Puppet Users] Augeas question a

2012-02-14 Thread rvlinden
Hi, I'm having some 'strange' issues with augeas and an onlyif statement This is my code augeas { "classx_sysctl_shmmax": incl=> '/etc/sysctl.conf', lens=> 'Sysctl.lns', changes => "set kernel.shmmax ${sysctl_kernel_shmmax}", onlyif => "get kernel.shmmax < ${sysctl_kerne

[Puppet Users] Re: Augeas question a

2012-02-14 Thread rvlinden
FYI, I use puppet enterprise 2.0.2 and augeas 0.10 on RHEL6, but the same problem occured on Puppet 2.7.9 and augeas 0.9 on RHEL5/6 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.c

[Puppet Users] Puppet 2.7.x and Facter 1.6 packages for Redhat/CentOS 5

2011-07-14 Thread rvlinden
All, I used to download the Puppet and Facter RHEL5 rpm packages from http://people.fedoraproject.org/~tmz/repo/puppet/epel/ but the latest version on that site is puppet 2.6.9 and facter 1.5.9. Does anyone know if this site is the still maintained ? or if there are other locations where the rpm

[Puppet Users] Variables in nodes classes and defines (headache)

2011-07-19 Thread rvlinden
All, The entire puppet configuration I have is based on the rule that nodes can only have variables and/or classes. below are two examples how I configured puppet to deal with an apache installation and addding users The 'apache' example does work perfectly, but the 'users' example does not and t

[Puppet Users] Node or site.pp for global variables without dynamic lookup

2011-07-23 Thread rvlinden
Hi all, I am working on rewriting my entire puppet environment and try to 'fix' 'Dynamic lookup' as it will be deprecated in some time, but even after reading quite some docs and on the forum, it's not really clear to me. What I have read so far, is that each variable must be fully-qualified or p

[Puppet Users] Re: Node or site.pp for global variables without dynamic lookup

2011-07-23 Thread rvlinden
Thanks vagn, Will have a look at your suggestion On Jul 24, 1:14 am, vagn scott wrote: > Node scope is not global scope.  But, more interesting: > > On 07/23/2011 04:18 PM, rvlinden wrote: > > > I really love the way I can inherit from nodes and define new or > > ove

[Puppet Users] Relationships (puppet 2.7)

2011-07-25 Thread rvlinden
All, I was wondering if I could create a relationship between a define and an exec (without using stages) Example I call a define 'sudo::manage' with the variable '$sudofile' where the variable contains and array or sudofiles I want to deploy. sudo::manage { $sudofile: } Once the sudofiles are

[Puppet Users] Puppet 2.7.3 Cannot alias .. already defined

2011-09-15 Thread rvlinden
Hi all, Today I upgraded both my puppet server (2.7.1) a puppet client(s) (2.6.9) to 2.7.3 and suddenly my modules didn't work anymore. I don't know if 2.7.3 is more strict than 2.7.1, or if it's a bug, so I hope someone can help me. I have several modules where the file and/or directory are sepa

[Puppet Users] Re: Puppet 2.7.3 Cannot alias .. already defined

2011-09-17 Thread rvlinden
On Sep 16, 8:55 pm, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > I would reference from back from the sysconfig::permissions module to > > the ntp module file by specifying > > name => "/var/lib/ntp" > > > Do I need to change all my modules because I used a feature

[Puppet Users] Re: Puppet 2.7.3 Cannot alias .. already defined

2011-09-17 Thread rvlinden
On Sep 16, 8:55 pm, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > I would reference from back from the sysconfig::permissions module to > > the ntp module file by specifying > > name => "/var/lib/ntp" > > > Do I need to change all my modules because I used a feature

[Puppet Users] Re: Puppet 2.7.3 Cannot alias .. already defined

2011-09-17 Thread rvlinden
On Sep 17, 3:54 pm, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > A single manifests works fine, but this is not the only module I have > > where I set permissions using the sysconfig::permissions module. > > Ah, now I as I read your problem better: The error indicat

[Puppet Users] Two parameterized classes calling both a thirth class (results in already defined)

2011-09-21 Thread rvlinden
Hi all, I have three parameterized classes, named mq, mq_gsk and apache. The mq class always calls the mq_gsk class, but the apache class should only call the mq_gsk class when the mq class is not used in a hosts' node definition Here is my configuration class mq ( $gsk_version = undef ) {

[Puppet Users] I can't seem to create mountpoint and change permissions after mounting in 2.7.3

2011-09-28 Thread rvlinden
Hi, I'm using puppet 2.7.3 on RHEL/CentOS and I have an issue which is now a big blocking issue within my environment. What I'm trying to accomplish wit puppet is a create a mountpoint, mount a filesystem on it and install an application on that filesystems are set proper user/ group and permissio

[Puppet Users] Re: Announce: Puppet 2.7.4 Available [security + more ]

2011-09-29 Thread rvlinden
On the RPM repo at http://yum.puppetlabs.com/el/5/products/x86_64/, the puppet-server rpm for 2.7.4 seems to be missing. el5 puppet-2.7.4-1.el5.noarch.rpm --- el6 puppet-2.7.4-1.el6.noarch.rpm puppet-server-2.7.4-1.el6.noarch.rpm -- You received this message because you are subscribed to the Go

[Puppet Users] Re: I can't seem to create mountpoint and change permissions after mounting in 2.7.3

2011-09-30 Thread rvlinden
' homedir set to the mountpoint, still no issues. For now I can not reproduce the autorequire I saw before where the Exec["mkdir_/a/b/c"] was linked to File["/a/b/c"] Rene On Sep 29, 6:13 pm, jcbollinger wrote: > On Sep 28, 5:02 pm, rvlinden wrote: > > > Hi,

[Puppet Users] puppet 2.7.5 and augeas break grub.conf on RHEL5

2011-10-07 Thread rvlinden
Hi, I was running puppet (2.7.5) on a host which needed to have some settings changed in it's /boot/grub/menu.lst file. This file is however a link to /boot/grub/grub.conf When I used augeas in puppet like shown below augeas { "${dom0::params::module_label}_menu.lst_memory": incl => '/ boot/grub

[Puppet Users] User type password_max_age not working

2010-11-11 Thread rvlinden
I have a virtual user (mqm) in puppet (v2.6.2 on CentOS 5.5 with Ruby 1.8.6.383-6) @user { "mqm": ensure => present, uid => "300", gid => "300", comment => "Functional user", ho

[Puppet Users] Re: User type password_max_age not working

2010-11-12 Thread rvlinden
Ruby shadow 1.4.1-7 was already installed so it has to be something else I will report it as a bug On Nov 11, 11:26 pm, Daniel Pittman wrote: > rvlinden writes: > > I have a virtual user (mqm) in puppet (v2.6.2 on CentOS 5.5 with Ruby > > 1.8.6.383-6) > > [...] > > &

[Puppet Users] Set password for local user account but not for remote accounts in LDAP/AD

2011-03-31 Thread rvlinden
I have a list of virtual users define (like the example below) and the same account will be realized on servers where the account will be local (/etc/passwd), but also on servers which have local accounts and remote accounts (like LDAP and/or AD). @user { "userx": ensure

[Puppet Users] Re: Set password for local user account but not for remote accounts in LDAP/AD

2011-04-01 Thread rvlinden
hi john, thanks for your suggestions, i can certainly use the renewed declaration and I will have a look at the way you realized them, Rene -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googl

[Puppet Users] ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
Hi all, I have no problem with creating ssh keys for users, but as soon as I specify 'options', puppet keeps repeating and replacing the key with an identical key. I have written the various options in various formats, like one big strings, as an array, with double quotes or single quotes, etc, e

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
BTW, the puppet version I use is 2.6.8 on Red Hat 5.6 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@goo

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
syntax of the authorized_keys file Regards, Rene On May 13, 1:29 pm, Felix Frank wrote: > Hi, > > On 05/13/2011 01:20 PM, rvlinden wrote: > > > as an array ... > > > @authorizedkey { > >    "userx_dss": > >         user     => "use

[Puppet Users] Re: ssh_authorized_key loops when options is defined

2011-05-13 Thread rvlinden
Ssh_authorized_key["${name}"] { options => $options, } # End options } # End if } # End define setup On May 13, 2:15 pm, Felix Frank wrote: > On 05/13/2011 01:49 PM, rvlinden wrote: > > > If I remove t

[Puppet Users] Create a variable variable

2012-10-15 Thread rvlinden
Hi all, I'm wondering if puppet can create a variable based on another variable ?? Here is an example 3 global varibles $::gbl_users_groups = app1,app2 $::gbl_users_accounts_app1 = app1user1,app1user2 $::gbl_users_accounts_app2 = app2user1,app2user2 What does work is this $groups_name_ar

[Puppet Users] Re: How do I set global noop?

2013-07-27 Thread rvlinden
Sam, You could make some changes to you site.pp and set some defaults like this Exec { schedule => $::globalvars_schedule, noop => $::globalvars_noop, } File { schedule => $::globalvars_schedule, noop => $::globalvars_noop, } Group { schedule => $::globalvars_schedule, noop => $::glo

[Puppet Users] Could not generate DH keypair

2017-01-19 Thread rvlinden
Run openssl to create a 1024 DH keypair # openssl dhparam 1024 and add this block of code (incl BEGIN DH PARAMETERS and END DH PARAMETERS to your /etc/katello/certs/katello-apache.crt on your satellite server Hope this helps Rene -- You received this message because you are subscribed to the