Puppet training VM - issues with agent_setup
Hi I have been working through the training vm. ran into a lot of issue with the agent_setup. I have fixed up the docker -T issue but still can't get it to start I run puppet agent -t puppet agent -t...
View ArticleProblem with training vm - agent setup
Hi I have been working through the training vm. ran into a lot of issue with the agent_setup. I have fixed up the docker -T issue but still can't get it to start I run puppet agent -t puppet agent -t...
View Articlehow to change proxy in windows
I am trying to install puppet stdlib module in windows using "puppet module install puppetlabs-stdlib" command but I am getting following error message Error: Could not connect to...
View Articlepuppet registry module giving issues.
I created one of the sample module as given on docs.puppet.com on master having a class named critical_policy. The content of the init.pp manifest is: include critical_policy class critical_policy {...
View ArticleOrder of puppt module execution, Stages
What problem/issue/behavior are you having trouble with? What do you expect to see? I have a bunch of puppet modules that are executed during new server installation. Some modules fail because they...
View ArticleHow to update agent in a Code Manager workflow?
Hi, I'm trying to accomplish a full workflow with Code Manager and GitLab. I added a webhook to the control repo that updates the pe-master after git commit. After the master pulls the latest code I...
View ArticleCertificate Error
Hey everyone! I've been trying to install puppet on a VM, either with or without Vagrant, and both times I get an error like the following related to certificates at anytime I try to access external...
View Articletidy to delete report yaml files not works
I try deletet old file from /opt/puppetlabs/server/data/puppetserver/reports/ I try tidy { '/opt/puppetlabs/server/data/puppetserver/reports/': age => '30d', matches => "*.yaml", recurse =>...
View ArticlePuppet agent run customization - Nexus
Puppet agent runs for every 30 minutes, I want puppet agent to run only if there are updates by looking in to Nexus repositories. I do not want Puppet agent to trigger every 30 minutes even if there...
View ArticleReporting on classes and module use
Hi, over the last couple years the number of classes and modules in our repository has wildly grown but not cleaned up. Any recommendations on reporting what is used, last used? Thanks in advance!
View ArticleHow do I build resource attribute array dynamically?
I have an array of hashes like this: $dirs => [ {name => "one", }, {name => "two", }, {name => "anotherone", }, ] Now I'm trying to use puppetlabs apache module vhost like this:...
View ArticleWarning: Unable to fetch my node definition, but the agent run will continue:...
Hey guys, I'm just beginning to try and figure out puppet and I've tried running the installer on windows to have a client and use it as a learning step standalone install. I've created and updated my...
View ArticleMcollective-puppet-agent not loading
Hi, I have mcollective setup on windows with puppet agent. The issue from logs is that, agent puppet is not loading as expected and throwing error as " can not load such file" D,...
View Articlestatsd module cause hiera error
HI, I installed statsd module by 'puppet module instal.. ' than I used it like this in a wrapper: class { 'statsd': backends => ['./backends/graphite'], graphiteHost =>...
View Articlecurl: (35) Unknown SSL protocol error in connection to puppetmaster:8140
Puppetmaster is installed on server puppetmaster. Now I am trying to install the agent on server puppetagent. However I get this error. curl -v -k...
View ArticleDoubt in network module from puppet forge
Hi, I am working on network module and analyzing the code from the url https://github.com/razorsedge/puppet-network/blob/master/manifests/bond/static.pp , but I don't understand the below case...
View Articleset puppet enviroment, but it not work!
I have my master config : [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter certname=puppet...
View Articlepuppet archive module extracts on every run
Hello I am trying to download an extract archive. For that I use the puppet-archive module from camptocamp. Download and extraction works fine but the extraction is happening on every puppet run. The...
View ArticleSyntax error in directories.erb after upgrade to puppetlabs-apache 1.9.0 from...
Hi, we recently upgarded our puppetlabs-apache module from 1.6.0 to 1.9.0. When I trigger a Puppet run now, I get the following exception/stack trace: Debug:...
View ArticleConvert Command Batch Files to Puppet
We are trying to move all of our lockdown scripts from batch files to Puppet code, but I am not seeing much data on this. For instance how would I convert the bottom to Puppet Code? I knowI could...
View Article