Error: Could not request certificate: Connection refused - connect(2) for...
I am new to puppet I am configuring connecting between puppet master "puppet" I have edited the host file on agent & client as well as I have edited the puppet.conf on agent node to resolve the...
View ArticleCan you notify an 'Exec' command defined in another file in the same module...
Hello, I have a module class that's broken up into different files like so: [mod] init.pp [mod/server] install.pp config_server.pp In the install.pp I have the install sub-class that installs the yum...
View Articledwerder-graphite module version 6.0.0 not working with learning VM:...
The latest version of puppet module dwerder-graphite (version 6.0.0 - released on 30th March 2016) not working with the learning VM puppet-2015.3.2-learning-4.0.ova.
View ArticleHiera hash into a template
Heya I have the following: a_cluster : - a : bob p : 51 - a : mike p : 52 ...... the question is i need to extrapolate these values into a template to produce seperated pairs. it needs to appear in...
View Articlepuppetlabs/apache How to control which modules get loaded ?
I am new to Apache httpd and new to Puppet. The Puppet Forge module puppetlabs/apache works beautifully for installing and running Apache httpd 2.4.6, this is the off the shelf version from Oracle's...
View Articlelibfacter was not built with JRuby support
Hi, I failed to start the puppetserver and it told me there was a problem adding a JRubyPuppet instance. When I dug into the log file, I found out an error "libfacter was not built with JRuby support"....
View Articledoes module required to install on client and server?
HI All, I am new in puppet, please do let know whether module is required to install on client and server as well? Regards, GG
View Articlehow to set environment?
Hi All, How do set the environment in puppet server Like I am having below scenario so how do you segregate it Production > Linux> Windows> AIX Dev > Windows>Linux> AIX UAT>...
View ArticleLearning VM Power of Puppet - Task 3
When running puppet agent --test I get this error: [root@learning ~]# puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog...
View Articleusermod not working in exec
I am trying to add a unix user using user resource as follows node 'node2.example.com','node3.example.com'{ user { 'thera': ensure => 'present', managehome => 'true', comment =>...
View Articleinvalid byte sequence in US-ASCII again !
Hi, after reading several posts, i didn't manage to get things working again. Problem: After upgrading from **PE 2015.3.2 to 2015.3.3** the error occured. I use the module **debconf_package** to...
View ArticleCan I use of multiple datadir for hiera?
I want to make use of multiple hiera datadir, so I configured my hiera.yaml file to look like this: $ cat /etc/puppetlabs/code/hiera.yaml --- :backends: - yaml :hierarchy: - "%{::role}" - common :yaml:...
View Articleaudit installed versions of packages
Is there a report module available (or an example of one) that can return back the version of each installed package on the host?
View ArticleAdd extra value to a parameter in file
Hi, With this configuration , I can add the parameter "exclude" in the yum.conf file if it does not exist with the value " kernel" . augeas { yum_exclude_kernel: context =>...
View ArticlePuppet fails with key mismatch only sometimes
Apr 4 08:14:26 server puppet-agent[19535]: Unable to fetch my node definition, but the agent run will continue: Apr 4 08:14:26 server puppet-agent[19535]: The certificate retrieved from the master does...
View ArticleProblem populating nagios objects from puppetdb
Hello, We're trying to populate a Shinken installation with nagios host and service objects, and all was going swimmingly until we ran into puppet trying to export non-existent objects from puppetdb....
View Articlecan puppet manage puppet.conf
I know that puppet **can** manage `/etc/puppet/puppet.conf` . I guess I'm wondering if there's a reason why I **shouldn't**. We need to make a change to all of our `puppet.conf` files. Adding...
View ArticleHow do I invoke a build script after downloading from git
Here is the code: exec { "Download Phalcon": path => ["/usr/bin/", "/home/cphalcon/build"], command => "git clone git://github.com/phalcon/cphalcon.git /home/cphalcon", require =>...
View ArticleMonolithic with multipe compile masters
Hi all, I want to setup an environment with one master of master (MoM/CA) server and two compile masters. I want to use a load balancer infront of the two compile masters to proxy the requests from...
View ArticleFailed to start pe-puppetserver service
I have Puppet Enterprise 2015.3.1 installed on a CentOS 7 machine (4 cores/7GB). On a server restart, all of the services come up successfully apart from the main pe-puppetserver service. It is not...
View Article