[Puppet Users] puppet node deactivate

2019-09-09 Thread Stephan Goeldi
I run an opensource Puppetserver (v5.3.9) / PuppetDB (v5.2.9) / Puppetboard (v1.0.0) host with 40 nodes. Everything works perfect. Now I stopped and deleted 7 nodes. I already cleaned the certs of those 7 nodes. Now I want to remove those hosts completely from the puppetdb so they won't show up

Re: [Puppet Users] Puppet only partially applying configuration

2016-12-06 Thread Stephan Stankovic
Hey Rob, Sorry I have officially taken over the puppet management that Andrew used to do. Some examples of things not being applied are applications such as git, also registry changes are not getting applied, like pinning various applications to the task bar. With the general things to consi

Re: [Puppet Users] How can I trace "comparison of String with Array failed" error to actual values?

2015-07-30 Thread Stephan Eckweiler
IIRC I fixed this by consequently making all variables involved arrays, even if they just had one member. On 30/07/2015, Björn wrote: > Am Mittwoch, 10. September 2014 23:00:42 UTC+2 schrieb Felix.Frank: >> >> On 09/10/2014 12:46 PM, Stephan wrote: >> > >> > Th

[Puppet Users] Re: puppet-server 0.4.1 - malformed DN provided by HTTP header x-client-dn

2015-02-23 Thread stephan schultchen
Hey, for anyone who is using apache: change: RequestHeader set X-Client-DN "/CN=%{SSL_CLIENT_S_DN_CN}e" to: RequestHeader set X-Client-DN "CN=%{SSL_CLIENT_S_DN_CN}e" in your puppet vhost Am Dienstag, 23. Dezember 2014 20:15:27 UTC+1 schrieb Kevin DeGraaf: > > Hello, > > I am evaluating Pupp

[Puppet Users] Re: Issue with puppet 3.3 evaluation - puppet agent install curl command is failing

2014-09-10 Thread Stephan
ry the official method to set up the PuppetLabs Yum repository? See https://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html Cheers Stephan On Tuesday, 9 September 2014 00:07:27 UTC+1, Norm Long wrote: > > Good afternoon; > > > > I'm attempting to install

[Puppet Users] How can I trace "comparison of String with Array failed" error to actual values?

2014-09-10 Thread Stephan
ot;joedoe" |> The other weird thing is I see this error only on AIX. On Linux it does exactly what I expect it to do. I'm using puppet 3.6.2 How can I trace this error a bit better? I would like to see which actual string it tries to compare against which array, just to get a better id

Re: [Puppet Users] I need a virtual exported resource, or something similar

2014-01-16 Thread Stephan
re an exception, like I need this nfs mount on all environments, except on the environment called data_migration. A hash of all environments, used with create_resources wouldn't pick that exception up, right? But maybe I'm not fully understanding Hiera's possibilities here? Than

Re: [Puppet Users] Re: I need a virtual exported resource, or something similar

2014-01-09 Thread Stephan Eckweiler
machines any of those are mounted. Nevertheless, the key is probably for the Mount resources to be exported by the nodes serving the shares (which does not itself cause them to have the Mounts in their own catalogs). That's principally a great idea and would solve my problem, the only probl

Re: [Puppet Users] I need a virtual exported resource, or something similar

2014-01-09 Thread Stephan
> Possibly I'm getting closer? > That might be an idea ... I've got it on my task list for a while to look into hiera. This might be the solution for this and several other issues. Thanks a lot for the hint! -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Re: How to replace pem certificate to servers

2014-01-09 Thread Stephan
. for your puppet code you might want to keep this outside, with /etc/puppet/fileserver.conf On Thursday, January 9, 2014 3:22:31 PM UTC, Paolo Brocchi wrote: > > Hi Stephan, > thanks for the quick answer. > I try to explain better. > > For example: > I have a pem certif

[Puppet Users] Re: How to replace pem certificate to servers

2014-01-09 Thread Stephan
If this is only on the puppet master then I would do that outside puppet, maybe with a weekly cronjob, which moves or deletes expired certificates. On linux with GNU date put this into a for loop going through all certs: now=$(date +%s) cert=$(date --date="$(openssl x509 -enddate -noout -in ww

[Puppet Users] Re: puppet installation help

2014-01-09 Thread Stephan
On Thursday, January 9, 2014 3:04:34 PM UTC, mehmet hasdemir wrote: > > hi, > we'd like to install puppet and use it on our system. i installed > puppet-server on my puppet machine and puppet on client machine. machines > are oracle linux 6. > on some videos there are "puppetd" "puppetca" co

Re: [Puppet Users] I need a virtual exported resource, or something similar

2014-01-09 Thread Stephan
On Thursday, January 9, 2014 2:59:15 PM UTC, Christopher Wood wrote: > > > Could you maybe use "mgmtnfs-${environment}-${fqdn}" (or add more > unique-ish suffix strings) in the resource title? If I recall correctly > giving each resource a unique title will ensure that each > server+environmen

[Puppet Users] Re: How to replace pem certificate to servers

2014-01-09 Thread Stephan
Do you want to replace some random certificates somewhere on the disk, or do you want to replace those used for puppet communication? If the latter have a look here: https://ask.puppetlabs.com/question/2097/how-to-migrate-ca-certificates-to-new-master/ This is for a puppet master migration, but

[Puppet Users] Re: Problem with exported resources...

2014-01-09 Thread Stephan
Sounds like the right assumption ... did you try "puppet node clean" as well? On Thursday, January 9, 2014 9:59:17 AM UTC, Krist van Besien wrote: > > Hello all, > > I am configuring a openstack swift cluster using puppet. For this I use > exported resources, and here I run in to a problem... >

[Puppet Users] I need a virtual exported resource, or something similar

2014-01-09 Thread Stephan
tual and exported, so that it can be requested to be "realized" by every environment server, but is collected only once. I don't think that is currently possible (or is it?). My questions are: Would it be worth a feature request? And are there other ways to get this done in a tidy

[Puppet Users] connect from ruby 1.9 agent to 1.8 server

2013-05-10 Thread Stephan
it works. Any help much appreciated Thanks Stephan -- 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 post

[Puppet Users] Display partitions with facter and the inventory database

2012-09-04 Thread Stephan
Hi, if anyone is interested, here's a way to get kind of a report of hard disks that are spilling over with the help of facter and the use of the facts inventory DB. I'm using this fact called mounts.rb (can't remember where I got it from, just remember that I had to change df #{mount} to df -

[Puppet Users] Re: how to create a oracle 11g database through puppet module

2011-11-29 Thread Stephan
You can use the exec type to execute commands: http://docs.puppetlabs.com/references/stable/type.html#exec On Nov 28, 12:25 pm, Nani wrote: > Hi > This is Anjan and I am creating a module to create a database for > oracle 11g. I have a problem to execute a cmd > ie sqlplus "/as sysdba" > @/home/

[Puppet Users] Re: Virtual Define-based resources can only be realized once

2011-11-18 Thread Stephan
Hi John, > Look up the Concat module.  That seems to be the tool most often used > for this sort of job, and several of the regulars around here can help > you out with it. Thanks so much for this hint, this does the job perfectly! All set up now :-) Stephan -- You received thi

[Puppet Users] Re: Group membership dublicated resources

2011-11-18 Thread Stephan
Which OS are you using? On mine the apache user gets created as soon as I install apache. So basically I have a class (not a define) named apache::install which installs the packet and rolls out a very basic httpd.conf. If there is no apache user created automatically on your system this would als

[Puppet Users] Re: Virtual Define-based resources can only be realized once

2011-11-17 Thread Stephan
uess that's what you mean with interpolating other files). But what exactly do you mean with a fragment-based approach to build the config file? Sounds like exactly what I want to do, just don't know a way to realize it with puppet. Thanks again Stephan -- You received this message b

[Puppet Users] Re: Adding users by using 'spaceship' syntax

2011-11-15 Thread Stephan
n Nov 15, 12:27 pm, Stephan wrote: > > > > > > > > > > > Hi Justin, > > > > So I'd like to avoid having to type the user titles in the call to > > > users::create. Is there a way to do this using the 'User <| group == > >

[Puppet Users] Re: password management with puppet

2011-11-15 Thread Stephan
the hashed passwords ... We only use puppet to roll out panic passwords for emergency accounts that are not supposed to be overwritten. Just my 2 cents Stephan On Nov 15, 10:22 am, Sunny wrote: > Hello, > > I am using accounts::user for managing user accounts on my > infrastructu

[Puppet Users] Re: Adding users by using 'spaceship' syntax

2011-11-15 Thread Stephan
and user::create groups. Would be enough just to have the ensure => present inside the user::define and then include or require it in your node, eg. your default node. Hope that helps Stephan -- You received this message because you are subscribed to the Google Groups "Puppet Users&quo

[Puppet Users] Virtual Define-based resources can only be realized once

2011-11-15 Thread Stephan
Hi all, here is what I have: A module that is responsible to roll out and configure TSM (a backup tool). Basically I need a text file that mentions all directories that have to be backed up. I want to make it a virtual resource and let other modules configure which parts of it have to be backed u

[Puppet Users] Re: Collection Questions

2011-10-12 Thread Stephan
> I wish it did.  However, what you proposed results in an error.  I think the > collection is expecting a attribute name on the left. > > Error 400 on SERVER: Could not parse for environment production: Syntax > error at 'in'; expected '|>' Seems to be as designed. I found this statement: "The

[Puppet Users] Re: Collection Questions

2011-10-12 Thread Stephan
On Oct 11, 9:47 pm, jdk wrote: > In playing around with something like this, I was able to tag the users and > then use the tags to realize the correct set of users: Thanks for the reply, I had a look into that, the problem is that I originally create this user via a define somewhere else. If I

[Puppet Users] Collection Questions

2011-10-11 Thread Stephan
ser<| title == $app-admin |> { groups +> "$title", } So the last User<| |> collection is not adding this group to all app- admin users, but only to "user1". Seems like it is unable to handle arrays. Is there a good reason for that? How can I get this do