crayfishx/firewalld add multiple ports
Downloaded crayfishx/firewalld but can't seem to find a way to add multiple ports Created ...hieradata/hostname.yaml, but only last port is added, client is cents 7. firewalld::ports: public: ensure:...
View ArticleHow to iterate over a hiera hash to create another hash
Hello Puppet users, I'm doing my best to put all my data into hiera and using only generic manifests, but I'm stuck here. I have a hiera structure like this one : bind1: ipport: '1.2.3.4:443' options:...
View ArticleFailed to show puppet classes: 500 - api request
__After requesting api via:__ ``` curl --cert /etc/puppetlabs/puppet/ssl/certs/foreman.pem \ --key /etc/puppetlabs/puppet/ssl/private_keys/foreman.pem \ --cacert...
View ArticleWhy is there no puppet-agent-1.6 RPMS in the EL7 repo?
Helo, I cannot install puppet server from yum repo due to dependency of puppet agent 1.6.0 which is not found in any of the repos that I checked. System is CentOS7. Thanks. Sylus
View ArticleVM Will not start (Windows 10 Enterprise)
I have tried with both VMware and Virtual Box. I'm running Windows 10 Enterprise on a new Think Pad with Intel Processor. I have installed VMWare as admin and did the import as the docs show. When the...
View ArticleHow can I purge exported resources from PuppetDB?
Generally if you need to remove the saved references to exported resources stored on Puppet DB you just need to run, on the puppet master: puppet node deactivate There are cases, anyway, when this is...
View ArticleRemote Puppet script execution
Is it possible to remotely execute Puppet scripts (could be DSL or a Ruby script)? Say for example, I am logged in on a System-A. From there, I wish to launch the execution of a Puppet script that...
View ArticleWhat is the most efficient way to manage multiple nodes through a puppetmaster ?
Suppose i want to manage 70 nodes through my puppetmaster then where should i provide entries of those nodes. Because putting entries of all nodes in nodes.pp/site.pp is not a convenient way to manage...
View ArticleCentOS agent version
Hi, I'm running PuppetMaster 3.4.3 and i now want to install agents on my CentOs servers. I have a closed network so I'm not connected to the internet, in order to install the agents i have downloaded...
View Articleunable to start httpd when using puppetmaster.conf
Hi I am trying to use puppetmaster-passenger' with httpd. However when I put the puppetmaster.conf in /etc/httpd/conf.d/ with the content advised in the instructions I the error below: -- Unit...
View ArticlePuppet Server not starting after cert regen
Had to regenerate my Master, agent certs after altering DNS aliases, getting strange DB error with checksums PE 2016.2.1 on Ubuntu 14.04, both Master and PuppetDB are on same box at...
View ArticleHow to write a well formatted essay?
The essay desires to be written in proper English and that's very principal. It'll must contain some substance and whether it is argumentative, then it have got to incorporate sufficient knowledge so...
View ArticlePass Parameter to Puppet Module at Runtime
Hi all, Is it possible to pass the parameter in Puppet ? For eg , If i have to create Disk partition module, so how can i pass the 1. **"Partition name"** 2. **"Size of partition**" parameter through...
View ArticleBest way to find out when exported resources disappear?
**tl;dr; how can I find out when a custom type (which is an exported resource) goes away?** If I collect these custom types on a central machine I can receive a notify on them, something like:...
View ArticleFind out when an exported custom type goes away?
**tl;dr; how can I find out when a custom type (which is an exported resource) goes away?** If I collect these custom types on a central machine I can receive a notify on them, something like:...
View ArticleHow to convert an ip to string in puppet
I am using version 3.8 of puppet and I need to convert an ip address to a string. I tried the String function but I am getting an error. This is the code I am using: class resolver::params { $ip =...
View Articlepupet agent run make it less verbose
Friends: Here is the output that I see upon a puppet agent run ---------- > virtual@cdl-pid-p1-01:~> `sudo /opt/puppet/bin/puppet agent --test --environment reconfigure_puppetagent_2_diff_master`...
View ArticleApplication specific f5 data in hiera
We're trying to come up with a way to group the application specific f5 LTM configurations with the application data in hiera. I'm asking here if anyone has come up with a solution other than just...
View ArticleInaccurate float multiplication: 0.0001 * 3.0 = 0.00030000000000000003
I apologize if this is documented somewhere. I looked but couldn't find it. $number1 = 0.0001 * 1 $number2 = 0.0001 * 2 $number3 = 0.0001 * 3 notify{"$number1 $number2 $number3":} Notice['0.0001 0.0002...
View Articlehiera_hash fails to fetch values from hieradata when using same variable name...
php7web.pp: class profile::php7web ( $apache_vhosts_defaults = hiera_hash('profile::php7web::apache_vhosts_defaults'), ) { notify { "$apache_vhosts_defaults": } } common.yaml:...
View Article