Report is not working
Report is receiving only when run 'puppet agent -t' manually on node. puppet_interval time is 30 min and puppet is working fine as show in log but foreman didn't receive report automatically. Why...
View ArticleCan metadata.json include dependencies of git modules
Module 'A' depends on module 'B' and they both are in git - Is there a way to include them in metadata.json - Or does metadata.json only accept dependencies of modules that are in the puppet forge?...
View ArticleConnection Issues on Puppet
When I do puppet agent -t on the agent, I am seeing the following. It happened recently all of a sudden. Few things to mention: 1. The Puppet master and agents are all up and running. 2. The...
View ArticleUninstalling programs in windows that are less than X version
Hi puppeters, I am working on some puppet manifests to manage windows machines, and so , for a while I was installing 7zip -for example- using this method: > package { '7-Zip 9.20 (x64 edition)': -...
View ArticleIs it appropriate to have commands in your params.pp class
Hello, I have a puppet module that ensures that an rpm is installed. If it is not installed it will install it in a default location (prefix). If it is installed it will make sure that the rpm is...
View ArticleW2K8R2 puppet agent errors on second run - File exists -...
I consistently get the following on a second and all subsequent puppet agent runs after a puppet agent 3.6.2 install on a a Windows 2008R2 OS: PS C:\Users\Administrator>& 'C:\Program Files...
View Articlescheduled_tasks list
Hi, I am using scheduled_task to create some tasks to be run as Domain\user, I am having the following questions: - scheduled_task created but does not show up in Task Scheduler Library, am I missing...
View Articlescheduled_task created but not showing up in task scheduler
Hi, I am using scheduled_task to create some tasks to be run as Domain\user, I am having the following questions: - scheduled_task created but does not show up in Task Scheduler Library, am I missing...
View Articleoverwrite fact osfamily
Puppet Agent Version: 4.6.2 Facter Version 3.4.1 (commit d0f32490f41ca12722c13e4c48d4572ae4f9bfdc) puppetserver version: 2.6.0 Server Linux: * Linux server-hostname 3.16.0-4-amd64 #1 SMP Debian...
View Articleexternal facts reference
Hello, Excuse my naivety but I am having a large amount of trouble with external facts. I have seen that you need to create a folder called /facts.d to store external facts in. Inside my facts.d folder...
View ArticleBest practice for puppet agent (minor) version updates?
Greetings - What is the prevailing opinion on a package update strategy for the puppet agent? This would be applying updates within the same code stream (e.g. 4.5.3 -> 4.6.2), not updating between...
View ArticleLearning VM IP address is not getting assigned
after booting the learning VM,IP address is not showing. facter ipaddress output is empty.
View Articleruby methods .map, .each, .gsub changes overview for puppet v3 & v4
Hey Guys Can anyone give me a good overview of the changes between ruby in puppet v3 & v4. In particular the methods named above. I need to cvt our p3 (3.2.2) system to p4, whilst at the same...
View ArticlePuppet Local Account Notify Issue
user { 'acc1': ensure => present, managehome => true, password => 'Test123', groups => ['Administrators'], auth_membership => 'minimum', notify => Exec['app config'] } exec { 'app...
View Articlepuppetserver autosigned certificate differs puppetmaster autosigned cert
Hi all, we tried to migrate form puppet master in apache and rack to java puppetserver, but encountered strange issue. Existing puppet nodes are working correctly, but newly added nodes fails to...
View ArticleHow should I tune Passenger to run Puppet?
The [default Passenger/vhost config](https://github.com/puppetlabs/puppet/blob/master/ext/rack/example-passenger-vhost.conf) example provided by Puppet doesn't work with Passenger 4 unless modified....
View ArticleErrors when adding CA cert to inventory.txt
We use Puppet extensively at Logicworks, and we've run into an issue in the automated build process for our Puppet masters, and I've isolated it to an issue with OpenSSL serials failing to be converted...
View ArticlePuppet Local Account Creation and Exec Resource
user { 'acc1': ensure => present, managehome => true, password => 'Test123', groups => ['Administrators'], auth_membership => 'minimum', notify => Exec['app config'] } exec { 'app...
View ArticleCan I have multiple CA certificates in a Puppet master?
Hi, In a few months, my CA certificate (created almost 5 years ago) will expire. I was looking the instructions on how to recreate the certs...
View ArticleSyntax error at '}'; expected '}'
So the error message Syntax error at '}'; expected '}' is not helping me find my problem. I'm trying to do something tricky, where I have this (shortened and anonymized) and the `$cron` variable set to...
View Article