[Puppet Users] External NSS based CA & puppetserver

2018-08-07 Thread Bart-Jan Vrielink
Hello, I'm currently trying to upgrade a Puppet 3.8 site to something newer (eventually 5.5). The current setup uses Passenger with Apache and mod_nss. The reason mod_nss is used is because it uses the /etc/httpd/alias NSS database that Red Hat IPA uses. In there, certificates for each host

[Puppet Users] Re: Best practice to check if file exists on custom mountpoint

2018-08-07 Thread Дмитрий Павлов
use 'file:///dev/null' instead undef среда, 1 августа 2018 г., 21:13:43 UTC+3 пользователь Darth Krizz написал: > > Hey together, > > we added a custom mountpoint on our puppetmaster. On this custom > mountpoint we store some files. > Usually the files are configuration files. > > So now, what

Re: [Puppet Users] is_numeric

2018-08-07 Thread Sebastian Hempel
Hi, > What is the proper way to check if something is numeric? Starting with Puppet 4 you can define parameters of classes and defines with a data type. class myclass( Integer $subsetting ) IMHO this is the prefered way to "check" the type of a variable. You can also specify the range of the

[Puppet Users] Release and Archive repository changes for Puppet software

2018-08-07 Thread Eric Griswold
Hello Puppet Users & Developers, The release repositories for Puppet software, yum.puppet.com, apt.puppet.com, and downloads.puppet.com have grown quite large. To help with our release process we will be regularly removing releases from these repositories that are more than three years old.

Re: [Puppet Users] Include Hiera Classes

2018-08-07 Thread Christopher Wood
Do yourself a favour, define puppet classes and resources in puppet code. There are surprisingly few people who can look at puppet resources in yaml and conceptualize which portion is causing that odd ruby+yaml error. This is a useful model for how to lay that out: