[Puppet Users] Re: Puppet 6 client lookup secret from Hashicorp Vault

2018-10-10 Thread Thomas Müller
Am Dienstag, 9. Oktober 2018 14:12:39 UTC+2 schrieb comport3: > > Mentioned in the Puppet 6 release notes are the ability for a client to > lookup secret data from Vault. > > Is there any more info on how to implement this? > > I have done extensive work on POC environments that use Vault as a

[Puppet Users] Re: clearing environment cache performance

2018-10-10 Thread Thomas Müller
Am Mittwoch, 10. Oktober 2018 01:29:34 UTC+2 schrieb chris smith: > > Hi all, > > I'm having some issues with puppetserver (jruby) performance after doing > an environment cache clear. > > The server is running puppetserver-5.3.1, 12 cpus, 8gig ram with 10 jruby > threads running, with

[Puppet Users] Re: PKIX path validation failed

2018-07-11 Thread Thomas Müller
Am Dienstag, 10. Juli 2018 20:04:03 UTC+2 schrieb Bret Wortman: > > I'm standing up a new replacement puppet server in place of the one we > trashed a few weeks ago, and am running into a new, interesting issue. > > I'm running puppet and puppetdb on the same server. Postgres is up and >

[Puppet Users] Re: puppetlabs-mysql: change the @HOST for the 'root'@'localhost'

2018-07-11 Thread Thomas Müller
what about - adding an additional root@% instead of reconfiguring the root@localhost one? - set create_root_user=> false when declaring mysql::server class (don't know the implications) - Thomas Am Dienstag, 10. Juli 2018 22:36:20 UTC+2 schrieb comport3: > > Using the

[Puppet Users] Re: puppetserver 5 logging to STDOUT misses puppet compiler messages

2018-07-11 Thread Thomas Müller
of CentOS/RHEL 7 this is normally also available in /var/log/messages - Thomas Am Montag, 9. Juli 2018 11:32:53 UTC+2 schrieb Thomas Müller: > > Hi > > I wan't my puppetserver 5.3 to log to STDOUT in addition or as replacement > for /var/log/puppetlabs/puppetserver/puppetserver.log.

[Puppet Users] puppetserver 5 logging to STDOUT misses puppet compiler messages

2018-07-09 Thread Thomas Müller
Hi I wan't my puppetserver 5.3 to log to STDOUT in addition or as replacement for /var/log/puppetlabs/puppetserver/puppetserver.log. I've added the following to the /etc/puppetlabs/puppetserver/logback.xml config file: ... ... ** I can see that after a service restart some of the

[Puppet Users] Re: PuppetDB 4.4 API - Getting ALL events (changes and no-changes)

2018-06-28 Thread Thomas Müller
Am Donnerstag, 28. Juni 2018 00:51:12 UTC+2 schrieb FE Williams: > > I need to programmatically present all events for a given node from the > latest report for audits of server Security Controls we're managing with > Puppet - pretty much the way events look in the PE Console when looking at

Re: [Puppet Users] puppet module repository w/ self signed ssl?

2018-06-06 Thread Thomas Müller
Am Dienstag, 5. Juni 2018 18:05:23 UTC+2 schrieb Josh Cooper: > > > > On Tue, Jun 5, 2018 at 8:52 AM, Sean > > wrote: > >> Hello, >> >> I'm wanting to use the module_repository setting in puppet.conf on my >> puppet5 master. The local repo mirror we've setup requires SSL, but has a >>

Re: [Puppet Users] Re: puppet compile master load balancing

2018-05-30 Thread Thomas Müller
Am Mittwoch, 30. Mai 2018 13:40:19 UTC+2 schrieb chanlinux: > > the server provided cert fails the validation.does it work if you connect > your agent directly to the compilemaster1.example.com ? > > Yes > does puppet cert list --all show the DNS name of the load-balancer on both compiler

[Puppet Users] Re: puppet compile master load balancing

2018-05-30 Thread Thomas Müller
Am Dienstag, 29. Mai 2018 17:14:38 UTC+2 schrieb chanlinux: > > > > Warning: Unable to fetch my node definition, but the agent run will > continue: > Warning: SSL_connect returned=1 errno=0 state=error: certificate verify > failed: [ok for /CN=compilemaster1.example.com >

Re: [Puppet Users] Re: Exec type and backgrounded processes

2018-05-23 Thread Thomas Müller
Am Mittwoch, 23. Mai 2018 14:54:47 UTC+2 schrieb Warron French: > > Use an attribute of the Exec resource, such as onlyif to restrict it's > execution if that's what you are trying to do. > > I'm not trying to use backgrounded processes with puppet at all. I'll actually think that starting

[Puppet Users] Re: Exec type and backgrounded processes

2018-05-23 Thread Thomas Müller
Am Dienstag, 22. Mai 2018 16:37:37 UTC+2 schrieb jcbollinger: > > > > On Tuesday, May 22, 2018 at 1:38:08 AM UTC-5, Thomas Müller wrote: >> >> Hi >> >> If I define: >> >> exec { '/bin/sleep 300 &': >> timeout => 10, >>

[Puppet Users] Exec type and backgrounded processes

2018-05-22 Thread Thomas Müller
Hi If I define: exec { '/bin/sleep 300 &': timeout => 10, } and run it with puppet apply: it happily starts the sleep, backgrounds it and finishes - leaving the sleep in the background alive. Is this behaviour as expected? I personally expected that puppet would ensure all started

[Puppet Users] Re: Class composition + parameterization

2018-05-07 Thread Thomas Müller
Am Montag, 7. Mai 2018 09:21:20 UTC+2 schrieb a...@example42.com: > > Actually you don't have to inherit, you can (and should) just have > something like: > > class dk_oracle_java::install { > include dk_oracle_java > package { 'oracle-java8-installer': > ensure =>

[Puppet Users] Re: Hiera brainstorming

2018-05-07 Thread Thomas Müller
Hi Robert I personally think these are too many levels. Instead introducing complexity by levels I would suggest you to implement a review process (like: pull-requests with mandatory reviews) to prevent disallowed settings to even hit production. This also will help you to share knowledge

[Puppet Users] Re: pxp broker that are not compile masters?

2018-05-04 Thread Thomas Müller
Am Donnerstag, 3. Mai 2018 22:38:42 UTC+2 schrieb Bill Sirinek: > > Is it possible to have a pxp broker that is not a compile master? > is any non-puppet enterprise puppet user using pxp-brokers? - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: How to Orchestrate State, such as use IPs of new systems for config other systems

2018-04-30 Thread Thomas Müller
Am Samstag, 28. April 2018 03:31:24 UTC+2 schrieb Joaquin Menchaca: > > Hello Puppeteers, > > Relearning Puppet (converting Ansible, Chef knowledge), not sure best > approach for this. How can I configure systems based on state of another > system? Essentially, I would use a tool like

[Puppet Users] To node or not to node in site.pp

2018-04-27 Thread Thomas Müller
Hi I can have the following manifests/site.pp in the environment: include ::role_loader or node default { include ::role_loader } They both produce the same catalog - there is just a Node['default'] resource added with the latter form. Are there any hidden benefits/drawbacks

[Puppet Users] Re: custom facts

2018-04-26 Thread Thomas Müller
Am Mittwoch, 25. April 2018 16:01:00 UTC+2 schrieb Michael Di Domenico: > > i'm upgrading from puppet 3 (via epel) to puppet 5 (via puppetlabs), > i'm confused on how/if there's a way to get custom ruby facts to load > into facter without having to specify FACTERLIB. i'll admit i might >

[Puppet Users] Re: Getting error on all puppet agents-please help me

2018-04-26 Thread Thomas Müller
Am Mittwoch, 25. April 2018 16:01:25 UTC+2 schrieb raja gopal: > > This is log details where i got from one of the puppet agent, but i didn't > get any log from /var/log/puppet.log from puppet master. > > > > > Apr 24 23:46:39 lx-cmlive9 puppet-agent[3312]: Finished catalog run in > 993.17

Re: [Puppet Users] PuppetDB: manually import reports

2018-04-25 Thread Thomas Müller
> > >> >> Another usecase could be to have a async puppetdb connection from the >> second datacenter. If the connection between the datacenters is not stable >> enough to use a single puppetdb I would need to add a puppetdb per DC.Then >> I also would want to sync data to the central

Re: [Puppet Users] PuppetDB: manually import reports

2018-04-19 Thread Thomas Müller
Am Donnerstag, 19. April 2018 19:18:34 UTC+2 schrieb Christopher Wood: > > To challenge an assumption, what are you gaining from having more than one > puppet infrastructure (puppetservers+puppetdb)? > > Could you perhaps handle your dev stuff with another environment or set of >

[Puppet Users] Re: puppet "package" resource type for multi-file installer

2018-04-19 Thread Thomas Müller
Am Donnerstag, 19. April 2018 04:55:40 UTC+2 schrieb Ty Young: > > I'm still ramping up on Puppet 5.4.0, but I'm stuck on something. > > I have a customer needing to automate installation of a software package > on Windows nodes. The installer is most easily transported as a .zip file, > but

[Puppet Users] Re: Environment variable setting while using a module

2018-04-19 Thread Thomas Müller
Hi Ugo Am Freitag, 30. März 2018 17:27:28 UTC+2 schrieb Ugo Bellavance: > > Hi, > > I'm using the puppetlabs-postgresql module and it works very well, but I > want to make it work with a non-standard version of postgresql (from Red > Hat Software Collections) because I would like to use

[Puppet Users] PuppetDB: manually import reports

2018-04-19 Thread Thomas Müller
HI I've got some prod puppetserver/puppetdb and some dev puppetserver/puppetdb. But to have the complete overview over all nodes with the prod puppetdb I'd like to import the reports from the dev puppetserver (stored by reports=store config) into the prod puppetdb. is there some hidden tool

[Puppet Users] puppet generate types on a standalone directory

2018-03-13 Thread Thomas Müller
Hi For octocatalog-diff I'd wanted to `puppet generate types` in the bootstrap script [1]. But at this stage its just the env extracted into a directory and not $environmentpath/${envname}. I couldn't figure out how to run `puppet generate types` on just a standalone directory. Is this at all

[Puppet Users] Re: How to check if module in use.

2018-03-13 Thread Thomas Müller
Am Sonntag, 25. Februar 2018 14:44:07 UTC+1 schrieb Albert Shih: > > Hi > > During time I've got lot of modules. Some are not use anymore. But how can > I check if a module is use by other ? > > there is IMHO no easy way to do this. I've created a (ugly) scripts to query puppetdb to list

[Puppet Users] Re: Integrating Puppet (v3.8) with Vault as the Puppet Master CA?

2017-03-09 Thread Thomas Müller
Read https://docs.puppet.com/puppet/4.9/config_ssl_external_ca.html about external ca support within puppet. There is no plug-and-play support for your idea. - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

Re: [Puppet Users] Puppet Language Style Guide update

2017-02-14 Thread Thomas Müller
I'm using vim with syntastic for code checks while editing. For git hooks checks I use overcommit - a flexible git hook manager. This is not a GUI but works great. :-) Thomas https://github.com/vim-syntastic/syntastic https://github.com/brigade/overcommit -- You received this message because

[Puppet Users] User Management from LDAP / freeipa

2017-02-06 Thread Thomas Müller
IMHO sounds like a job for pam_mkhomedir (https://linux.die.net/man/8/pam_mkhomedir) and not for puppet. - Thomas -- 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

[Puppet Users] Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

2017-02-06 Thread Thomas Müller
This is a new deprecation introduced with puppet 4.9.0 (puppet-agent 1.9.0). A related bug: https://tickets.puppetlabs.com/browse/PUP-7171 I too can't find docs to the new format . - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Re: How to reference NFS shares in a file resource

2017-01-15 Thread Thomas Müller
Am Freitag, 13. Januar 2017 18:23:31 UTC+1 schrieb Warron French: > > Hi, I need to understand how to properly write some puppet code that will > take files off of an NFS share on serverA and place them on my clients via > a puppet module. > > My NFS server is *serverA.home*, providing

[Puppet Users] Re: writing custom fact -> return value not as expected

2017-01-13 Thread Thomas Müller
Am Dienstag, 10. Januar 2017 17:44:23 UTC+1 schrieb Denny: > > Hi there, > > probably a pretty easy to answer question. > > I want to try out adding custom facts. My first custom fact should be > "lastrebootdate" > > My code looks like this: > > Facter.add(:lastrebootdate) do > setcode do >

[Puppet Users] Re: Regex auto-escape

2017-01-13 Thread Thomas Müller
Am Donnerstag, 12. Januar 2017 20:23:48 UTC+1 schrieb Ugo Bellavance: > > Hi, > > I've been working on a public module that manage text entries that have > SELinux contexts in them. I added basic support to some of the regex > special characters that may be used in SELinux contexts and here's

[Puppet Users] Puppet Community Roles and Profiles

2017-01-11 Thread Thomas Müller
Hey Joe Roles and profiles isnt tied to puppet enterprise. Works great with non-enterprise edition. Original blogpost about the concept: http://www.craigdunn.org/2012/05/239/ Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-09 Thread Thomas Müller
Wouldnt it work anyways (if manifest order or not) because the file typeauto-reqires its parents? https://docs.puppet.com/puppet/latest/types/file.html#file-description -Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe

[Puppet Users] Re: Puppet Module Gem Dependency

2017-01-02 Thread Thomas Müller
HI Bryan > I'm updating a module that will require a ruby gem (e.g. xml-simple) for > one of the custom providers. How does Puppet make sure that the gem is > available and installed when the module is installed? Does a *puppet > module install* also install any dependent gems? How does it

[Puppet Users] RPM's with prein scriptlets

2016-12-28 Thread Thomas Müller
The silly rpms I came across which require userinput to accept a license had a "silent" mode by creating a file somewhere in /tmp before installing the rpm ... Or just use rpmrebuild (available from epel for EL) and remove the code. - Thomas -- You received this message because you are

[Puppet Users] Re: Puppetserver & content logging

2016-12-23 Thread Thomas Müller
Hi Jeremy Am Mittwoch, 21. Dezember 2016 22:31:34 UTC+1 schrieb Jeremy Barlow: > > I don't think there's any way to register the TeeFilter without making > changes to the library, trapperkeeper-webserver-jetty9 > , that > Puppet

[Puppet Users] Re: Node classification groups for Puppet Community edition?

2016-12-23 Thread Thomas Müller
Am Freitag, 23. Dezember 2016 02:13:50 UTC+1 schrieb Joe: > > Hi Guys, new to puppet. Wondering if htere are node classification groups > for puppet community edition or if these are only available in the > Enterprise version? > this is a puppet enterprise feature. for opensource you could

[Puppet Users] Puppetserver & content logging

2016-12-21 Thread Thomas Müller
hi I thought about capturing catalog requests with puppetserver to gather data for a simple load test. I've configured another logback logfile* with pattern %fullRequest%n%n%fullResponse - it then logs headers but no content. logback docs** talk about enabling a TeeFilter to enable those. Is

Re: [Puppet Users] Single Enterprise Puppet Master to support 2 Control Repos

2016-12-03 Thread Thomas Müller
Am Samstag, 3. Dezember 2016 18:40:58 UTC+1 schrieb Eric Sorenson: > > Hi Thomas, have you tried the `puppet generate type` workflow described on > that doc to avoid the problems with environment bleed-through? You said you > failed w/the elasticsearch module and I'm wondering if that is

Re: [Puppet Users] Single Enterprise Puppet Master to support 2 Control Repos

2016-11-28 Thread Thomas Müller
Am Montag, 28. November 2016 19:06:55 UTC+1 schrieb Rob Nelson: > > This will work but I would caution against it. Only recently has per > environment segregation been implemented and there are still some issues > present (I believe most fixes showed up in 4.8.0 but not sure). You don't >

[Puppet Users] Encrypting password with custom provider

2016-11-08 Thread Thomas Müller
You could use the datacat module. It runs the template on the client instead of on the puppet master. https://forge.puppet.com/richardc/datacat/types -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] paragraphing hiera yaml

2016-11-05 Thread Thomas Müller
Am Samstag, 5. November 2016 13:29:13 UTC+1 schrieb Thomas Müller: > > > > Am Mittwoch, 2. November 2016 15:10:41 UTC+1 schrieb Craig Dunn: >> >> >> >> On Fri, Oct 28, 2016 at 7:45 PM, Christopher Wood <christop...@pobox.com> >> wrote: >> &g

Re: [Puppet Users] paragraphing hiera yaml

2016-11-05 Thread Thomas Müller
Am Mittwoch, 2. November 2016 15:10:41 UTC+1 schrieb Craig Dunn: > > > > On Fri, Oct 28, 2016 at 7:45 PM, Christopher Wood > wrote: > >> >> >> So how would I auto-magically auto-paragraph hiera yaml to make it >> friendlier for more people, while still keeping it

[Puppet Users] Re: Role vs hiera

2016-10-27 Thread Thomas Müller
Am Dienstag, 18. Oktober 2016 20:34:25 UTC+2 schrieb 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)? > you could

[Puppet Users] Re: Issue with lvm, "Invalid parameter unless_vg(:unless_vg)"

2016-10-03 Thread Thomas Müller
Am Montag, 3. Oktober 2016 14:36:22 UTC+2 schrieb Stephen O'Kane: > > Hi, >I keep getting this error when running a installation using puppet. > > Physical_volume[/dev/disk/by-id/virtio-6c2cd884-c21b-4bff-b-part1]: Could > not evaluate: Invalid parameter unless_vg(:unless_vg) > > My

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-16 Thread Thomas Müller
Am Donnerstag, 15. September 2016 14:53:57 UTC+2 schrieb HPUX_PUPPET: > > ... > > This post was mainly about seeing if Puppet / Factor had been tweaked over > the years to pull lists of installed RPMs given Red Hat Satellite 6 using > Puppet as part of their software management and server

[Puppet Users] Re: Function best approach

2016-08-09 Thread Thomas Müller
Am Dienstag, 19. Juli 2016 18:50:45 UTC+2 schrieb Salty Old Cowdawg: > > Let me preface everything I'm about to say by saying I only started > seriously coding in Ruby about a year ago. I've been a Perl guy since 1989 > and C/C++ and friends for longer than that so I'm not a total newbie.

[Puppet Users] Re: File_line help (regex?)

2016-08-09 Thread Thomas Müller
Am Dienstag, 19. Juli 2016 17:36:36 UTC+2 schrieb mike r: > > trying to make sure my grub conf file contains a string, > > > cat /etc/default/grub > > GRUB_DISABLE_SUBMENU=true > GRUB_TERMINAL_OUTPUT="console" > *GRUB_CMDLINE_LINUX="crashkernel=auto audit=1 rd.lvm.lv >

[Puppet Users] Re: Centos 7 authentication with puppet

2016-08-09 Thread Thomas Müller
> > One of the packages is responsible for configuring systems to allow > certain users ssh access. > a file '/etc/custom_txt_file' manually created on system with contents of: > ' a tag' > > puppet reads that tag and if it finds match it adds certain AD group to > /etc/pam_allowed_groups as

[Puppet Users] Re: Puppet-in-Docker

2016-06-04 Thread Thomas Müller
Hi Gareth > > > * You want to run Puppet on something like CoreOS, PhotonOS or Atomic > where containers are the defacto way of installing software > * You want a full local development environment (including on WIndows > or OSX) with minimal overhead > > The Dockerfiles and various build

[Puppet Users] How to control who can add/update permissions in sudoers

2016-05-19 Thread Thomas Müller
Look for assert_private in puppetlabs-stdlib module. Maybe its what you are looking for. Thomas -- 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] Re: Strategies for "boring" packages

2016-04-19 Thread Thomas Müller
Am Dienstag, 19. April 2016 03:07:34 UTC+2 schrieb J.T. Conklin: > > At work, we've written about 120 modules in our puppet code repository. > About two dozen are "interesting", in that they have lots of parameters > and configuration that is specific to our environment. The balance are >

[Puppet Users] Re: How to Read New Files Dynamically with Hiera?

2016-04-14 Thread Thomas Müller
Am Donnerstag, 14. April 2016 18:32:24 UTC+2 schrieb o...@soluto.com: > > Hi, > We need to manage many keys in Hiera. Since many people should be able to > edit the keys and in order to avoid a complete mess I was thinking to work > with many different files. The problem is that I don't know

[Puppet Users] Re: Puppet Enterprise + SELinux

2016-03-24 Thread Thomas Müller
Am Donnerstag, 24. März 2016 14:31:01 UTC+1 schrieb jcbollinger: > > > > On Thursday, March 24, 2016 at 4:16:17 AM UTC-5, Thomas Müller wrote: >> >> Hi >> >> Does Puppet Enterprise support running puppet agent selinux confined? >> >> Seems at least

[Puppet Users] Puppet Enterprise + SELinux

2016-03-24 Thread Thomas Müller
Hi Does Puppet Enterprise support running puppet agent selinux confined? Seems at least EL6 and EL7 provide types but it seems pe-agent is not using them as they are started in initrc_t (EL6) or unconfined_service_t (EL7). I can't find documentation about this topic on docs.puppetlabs.com .

Re: [Puppet Users] Pasword retrievel from external source on node

2016-03-19 Thread Thomas Müller
Am Donnerstag, 10. März 2016 17:01:36 UTC+1 schrieb Craig Dunn: > > > > On Thu, Mar 10, 2016 at 3:09 PM, Thomas Müller <tho...@chaschperli.ch > > wrote: > >> I'm too interested in how people manage credentials without having it in >> the

RE: [Puppet Users] Pasword retrievel from external source on node

2016-03-10 Thread Thomas Müller
I'm too interested in how people manage credentials without having it in the catalog. Recently i stumbled upon a puppetlabs blogpost about conjur. There is also a video of a presentation at puppetconf 2015 about this. Managing credentials out of band ("out of puppet") seems like a good way to

[Puppet Users] Quiet all notifies for one module

2016-03-08 Thread Thomas Müller
What about setting a different vardir for puppet apply runs than for your puppet agent runs? So you would get yor own copy. Not tested but something like: puppet apply --vardir /var/lib/puppet-apply ... - Thomas -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: puppet exec is not working

2016-02-29 Thread Thomas Müller
Am Montag, 29. Februar 2016 20:20:25 UTC+1 schrieb moons...@gmail.com: > > Hi All, > > I following code is not working. Not sure why. > > exec { "file_system_cleanup": > command => "touch /root/file_system_cleanup.log", > path=>

[Puppet Users] Updating facts for a client in PuppetDB independently from the master

2016-02-17 Thread Thomas Müller
wouldnt next puppet run replace your out of band added fact? -- 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

[Puppet Users] Puppet file type - wrong selinux fcontext detected

2016-02-01 Thread Thomas Müller
I've seen this if puppet agent service was already running when the fcontext got added with semanage. Afterwards file resources applied the old contexts. This behaviour could be reproduced for all puppet runs started from the deamon. Puppet runs started from the shell with --test did apply the

[Puppet Users] Re: Referencing hash values within module

2016-01-22 Thread Thomas Müller
Hi Mike Am Donnerstag, 21. Januar 2016 23:20:38 UTC+1 schrieb Mike Reed: > > ... check the values by running a facter -p, which results in something > like: > > nvidia_installed => false > video_card_id => 17c2 > class => workstation > ... > > if ($::is_virtual == true) and ($::class ==

[Puppet Users] Re: How to install tomcat silenlty using puppet on Windows 7

2016-01-22 Thread Thomas Müller
I don't think this is a puppet issue. I suspect /VERISILENT is wrong. Try googling for tomcat and silent install. And read the docs too about package type on windows: https://docs.puppetlabs.com/puppet/3.6/reference/resources_package_windows.html . I guess "tomcat-8" isn't correct. - Thomas

[Puppet Users] Re: Purge puppet's reports

2016-01-22 Thread Thomas Müller
Am Donnerstag, 21. Januar 2016 12:45:59 UTC+1 schrieb Tiago Delboni: > > Hi, I'm revisiting this topic. > > Wasn't garbage collector supposed to clean up the old reports and leave > the last "report-ttl" on disk? Or this is valid only for the reports stored > in the PuppetDB's database? > I

[Puppet Users] Re: Monitoring Puppet with Zabbix

2016-01-18 Thread Thomas Müller
Am Donnerstag, 10. Dezember 2015 16:10:24 UTC+1 schrieb hoize: > > Hello! > > Is there a way to monitor puppet runs with zabbix? > Here is what i want to monitor: > - a host's puppet run is more than 20 minutes ago > not related but interesting: why you are running puppet that often? > - a

[Puppet Users] Facter - custom fact regex

2016-01-14 Thread Thomas Müller
IMHO the fact "network" is a default fact from facter >= 3. i would change the name. -- 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] Re: Puppetmaster compiles old catalogs

2015-12-12 Thread Thomas Müller
Am Sonntag, 6. Dezember 2015 15:27:21 UTC+1 schrieb César: > > Hi all, > > we're seeing every now and then an odd behaviour with Puppet catalog > compilation. Basically, we modify and save the node manifests and a few > seconds later we trigger a catalog run to apply the changes. > However,

[Puppet Users] Re: Best way to do cross-module dependencies

2015-12-11 Thread Thomas Müller
Am Montag, 7. Dezember 2015 23:59:47 UTC+1 schrieb Dan Mahoney: > > Hey all, > > Everything I've done thusfar in creating my own custom modules has drilled > some basics into my head -- these are right from the puppet web docs: > > "A module’s classes, defined types, and plugins *should all be

[Puppet Users] Designing modules with long running tasks

2015-12-02 Thread Thomas Müller
I don't think puppet is a good fit for what you trie to do. Puppet is more about configuration and less for long running tasks. I would recommend to write the list of files to be downloaded as a configfile for a cronjob which reads it and starts/restarts your service itself. -Thomas -- You

[Puppet Users] Re: SELinux context warnings, how-to fix ?

2015-12-01 Thread Thomas Müller
Am Montag, 30. November 2015 18:15:59 UTC+1 schrieb Remy: > > Hi, > > We moved from 3.1 to 3.8 and we faced some warnings regarding SELinux all > of the sudden: > > Nov 30 14:48:22 nodename puppet-agent[9865]: Failed to set SELinux context > system_u:object_r:usr_t:s0 on /usr/sap/home/username

[Puppet Users] Re: SELinux context warnings, how-to fix ?

2015-12-01 Thread Thomas Müller
sorry for the maths inbetween. this did not show up in the google editor. :) Am Dienstag, 1. Dezember 2015 09:23:44 UTC+1 schrieb Thomas Müller: > > > matchpathcony=a+bsin(c+dx > y=a+bsin(c+dx) > -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: How can i send a complete file from on agent to another agent......?

2015-11-23 Thread Thomas Müller
Am Montag, 23. November 2015 14:23:52 UTC+1 schrieb mahmad@gmail.com: > > Any one can share code which take file from client side and send complete > file to another agent? Please help me out? > IMHO: Puppet is not a file transfer tool. But maybe you could use exported resources

[Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-11-13 Thread Thomas Müller
Am Freitag, 13. November 2015 02:40:30 UTC+1 schrieb Stefan Lasiewski: > > Hello Everyone, > > I am running Puppet 3.8 on CentOS 6. I'm trying to install a yum > repository from an RPM package, as well as modify the contents of the .repo > file after the package is installed. > > My example

[Puppet Users] Confine a custom fact by file existence

2015-10-22 Thread Thomas Müller
Hi I know it's possible to confine a fact by other facts like "confine :operatingsystem => :Fedora". But i have a fact which requires a binary from a rpm package which is only installed by puppet. For the first puppet run tries to execute the not-yet installed binary and fails. is it

[Puppet Users] Re: slashes or dashes for module names in metadata.json ?

2015-10-17 Thread Thomas Müller
Am Samstag, 17. Oktober 2015 00:54:15 UTC+2 schrieb Vince Skahan: > > Confused - I've seen both used in PL docs, and both used in various tools > and examples. > > If I'm identifying the puppetlabs stdlib into my metadata.json file as a > dependency, as an example: > >- do I call it

[Puppet Users] Scheduled changes to SSL certs

2015-10-16 Thread Thomas Müller
You could use the strftime function from stdlib instead of generate. I don't know a better way as comparing dates in a conditional. -- 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

Re: [Puppet Users] Re: Puppet 3.8 to 4.2 migration issue...

2015-10-14 Thread Thomas Müller
I would recommend you to run puppet-lint against all your manifests. It will detect other possible problems. - Thomas -- 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

Re: [Puppet Users] Ordering agent runs

2015-10-08 Thread Thomas Müller
Am Mittwoch, 7. Oktober 2015 23:21:59 UTC+2 schrieb Xav Paice: > > On 07/10/15 08:20, Rick Lindal wrote: > > Thanks for the link Martin. We are using open source. > > sounds like it will be made available later on: "Language changes used to model applications will be available as part of Open

[Puppet Users] Re: parser=future ; puppet version 3.8; how to find/validate removed/deprecated features in current code all errors at once.

2015-09-21 Thread Thomas Müller
Am Montag, 21. September 2015 05:08:58 UTC+2 schrieb rhpupp...@gmail.com: > > We are using puppet 3.8. I'm currently testing our existing modules > compatibility with puppet 4 using parser = future option in puppet.conf. > When i run puppet agent against to this master server, it is showing

Re: [Puppet Users] Getting data out of hiera?

2015-07-21 Thread Thomas Müller
Systemd services do not have access the normal environment variables that are present in yor shell. -- 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

Re: [Puppet Users] Getting data out of hiera?

2015-07-21 Thread Thomas Müller
Are you saying that my test is no good because it is using the environment from the shell? yes systemd does not send provide /etc/profile.d environment to its services. just don't use FACTER_ env variables. Use facter-dot-d or a custom fact in a puppet module. - Thomas -- You

Re: [Puppet Users] Getting data out of hiera?

2015-07-21 Thread Thomas Müller
you need to adjust the hiera hierarchy. To adjust it you need a top scope variable (e.g. pod_prefix) (https://docs.puppetlabs.com/puppet/latest/reference/lang_scope.html#top-scope ) to be used in hiera.yaml configuration file. you could also make a custom fact

[Puppet Users] puppet collectors plus own data

2015-07-20 Thread Thomas Müller
Hi thomas Saz/ssh seems to use the standard sshkey type to export the host keys. Code: https://github.com/saz/puppet-ssh/blob/master/manifests/hostkeys.pp Seems you can export the non-puppet managed keys on a puppet managed node to get it distributed. Thomas -- You received this message

Re: [Puppet Users] Re: Could not evaluate: Could not find command '/var/lib/puppet/concat/bin/concatfragments.rb'

2015-07-13 Thread Thomas Müller
It needs to copy a script once - which it can't do if it was never ran without noop. after that the noop mode should work. Am Montag, 13. Juli 2015 15:40:57 UTC+2 schrieb Charlie-Jane Costello: Yeah, I've just tried running the code again without --noop and it worked fine. On Monday,

Re: [Puppet Users] Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-06-18 Thread Thomas Müller
FWIW I find this argument pretty compelling and would like to advance the version number of the next release of puppet-agent to '4.something'. Our current thinking is that this will be a matched to the puppet version, with an extra digit on the end of the version number that indicates

[Puppet Users] Re: puppet 4: webserver configuration

2015-06-16 Thread Thomas Müller
I would configure a apache in front of puppetserver (sample vhost: https://groups.google.com/forum/#!topic/puppet-users/ECZ4-9XD7e0) to serve other content. I suppose that the puppet server is not thought as a general purpose webserver. - Thomas Am Montag, 15. Juni 2015 18:42:12 UTC+2

[Puppet Users] Re: Snippet: Apache vHost to proxy to central CA and local puppet server

2015-06-16 Thread Thomas Müller
seems the URL schema of the certificate service is not the same as with puppet 3. ^/([^/]+/certificate.*)$ needs to be ^/(puppet-ca/.*)$ - Thomas Am Dienstag, 9. Juni 2015 08:34:52 UTC+2 schrieb Thomas Müller: hi If you have a centralized ca you can proxy the certificate traffic

[Puppet Users] Re: r10k: modules folder content deleted

2015-06-09 Thread Thomas Müller
argh. of course it's the non-existent puppetfile what was my problem. added a Puppetfile only containing the moduledir: puppetfile_modules and all is fine! - Thomas Am Dienstag, 9. Juni 2015 10:23:46 UTC+2 schrieb Thomas Müller: Hi ! I'd like to move to r10k (1.5.1) for the environment

[Puppet Users] r10k: modules folder content deleted

2015-06-09 Thread Thomas Müller
Hi ! I'd like to move to r10k (1.5.1) for the environment deployment for our new puppet master setup. Right now we have the complete environment in an git branch. Later on we maybe move to the Puppetfile/modules approach. Our modules live in the modules/ subfolder. r10k removes the content

[Puppet Users] Snippet: Apache vHost to proxy to central CA and local puppet server

2015-06-09 Thread Thomas Müller
hi If you have a centralized ca you can proxy the certificate traffic to the central puppet ca service (1). And forward all the other traffic to the local puppet server (2, 3). The snippet requires puppetlabs-apache module 1.4.1 as it won't include the proxy template with $proxy_pass_match

[Puppet Users] Howto: easily create rpms from ruby gems for use with puppet-agent AIO

2015-06-05 Thread Thomas Müller
hi For those using rpm's to install gem's I want to share my script to create rpm's from gems - for example to use r10k - with the new puppet-agent aio package on el6: https://gist.github.com/vinzent/57c1448403e68aaf1650 it should work on el5, el7 and maybe even on debian/ubuntu with -t deb

[Puppet Users] Re: puppetserver 2.0.0: out of memory with Xmx3g and 1 client

2015-05-28 Thread Thomas Müller
it seems it was caused by an 15 line custom function which worked for the last few years. replaced it by some stdlib funcntions and now it works. other lessons learned: - run puppet-lint on all manifests (and take advantage of the new nice --fix option) - fixes a lot of problems in old code -

[Puppet Users] Re: custom fact in custom facts resolves to nil

2015-05-27 Thread Thomas Müller
Am Mittwoch, 27. Mai 2015 08:36:39 UTC+2 schrieb ashe...@gmail.com: Hi, is it possible to use custom facts inside other custom facts? With facter -p the custom fact is listed ( e.g.): the -p / --puppet flag for facter is deprecated. use of puppet facts will be required.

[Puppet Users] Re: custom fact in custom facts resolves to nil

2015-05-27 Thread Thomas Müller
Am Mittwoch, 27. Mai 2015 11:26:35 UTC+2 schrieb Thomas Müller: Am Mittwoch, 27. Mai 2015 08:36:39 UTC+2 schrieb ashe...@gmail.com: Hi, is it possible to use custom facts inside other custom facts? With facter -p the custom fact is listed ( e.g.): the -p / --puppet flag for facter

[Puppet Users] Re: Load balancing Puppet Server

2015-05-26 Thread Thomas Müller
Am Montag, 11. Mai 2015 18:16:21 UTC+2 schrieb Joao Morais: Hello list. I'm using open source Puppet 3.7.4 with Puppet Server 1.0.2 and I'm evaluating how to load balance two or more Puppet Servers, specially about centralizing the CA. Is the doc

[Puppet Users] puppetserver 2.0.0: out of memory with Xmx3g and 1 client

2015-05-26 Thread Thomas Müller
hi I've started trying to run our puppet3 environments on puppet4 (puppet-agent 1.1.0 with puppetserver 2.0.0). It failed with some out of memory problem. I've started with 1g and increased it up to 3g - same error. It's a standalone RHEL6 Vm with total 4GB memory and only itself as client

[Puppet Users] Re: Puppet 4.0: Evaluation Error: Error while evaluating a Function Call, Could not find data item classes in any Hiera data file and no default supplied

2015-05-20 Thread Thomas Müller
Am Mittwoch, 20. Mai 2015 10:31:14 UTC+2 schrieb Danny Roberts: I have built a new Puppet master to test Puppet 4. I have installed the server itself and used r10k to put my code on the server but when doing a puppet client run on the master I get this error: root@puppet:~# puppet agent

  1   2   >