Running an Exec resource *before* deleting a File resource
I have a class that is adding a (rhel6) 'upstart' configuration in /etc/init. When Puppet creates the configuration file, I have to execute "initctl start " based on the service name that I'm adding....
View ArticleIs it possible to reset forge.puppet.com account without knowing email-id
Hey, This may sound stupid, but i have a company-name user account that has not been used since last few yrs, and as such i am not able to gather who created that account or what creds it has. Now i...
View ArticleMonitoring Puppet Enterprise Server Components with Nagios
I have the latest Puppet Enterprise installed on a CentOS 7 system, and am wondering which of the many Puppet related processes I should monitor with Nagios. Obviously I'm not really interested in...
View Articleis there any way to know if puppet is enabled or disabled in a host without...
I just want to know if puppet is enabled/disabled in a host and show it in a kind of dashboard and let others know it. I have thousands of servers and many of them doesn't need to run 'puppet agent -t'...
View ArticleError: Could not retrieve catalog from remote server: Error 400 on SERVER:...
I am currently getting the following error while trying to apply the configuration of a iisserver Module - "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter...
View ArticleComposite DSC resource
LS, Will there be support for Composite DSC Resources in the near future. I can imagine the way DSC is being Invoked nowadays, will need to change to Start-DscConfiguration for instance. Though is it...
View ArticleModule yo61/puppet-logrotate -- define multiple paths for the same...
Hello, I am having issues defining multiple file paths on the same logrotate rule by making use of the module: link:[yo61/puppet-logrotate](https://github.com/yo61/puppet-logrotate) Looking at a...
View ArticleStrugging getting custom function to work. version v3.6.2
Have added a sbfexists.fb file in: /etc/puppet/modules/rootdir/lib/puppet/parser/functions/newfunction/sbfexists.rb (head of this is) module Puppet::Parser::Functions newfunction(:sbfexists, :type...
View ArticleFile lines replacement for multiple lines from an array?
I'd like to do something that's a combination of file_line with match=>, and template expansion from an array variable. Specifically, I'd like the config to be able to supply an array of nameserver...
View ArticleIs it possible puppet master server to be also agent node?
Hi, I have multiple agent servers controlled by one dedicated master server, but now I need all master manifests to be executed on the master also. So my question is: Can I make my master server to be...
View ArticleInstall puppet modules in manifests?
Hi, Is it possible to install puppet modules to all of my agents via manifests files? When I try this in my site.pp file: module { 'author/mymodule': ensure => present, } i get this error: Error:...
View ArticleCould not initialize global default Settings in manifest to install puppet...
Hello, newcomer in Puppet. I am trying to fiddle with a box that i created using vagrant. I have used the ubuntu/xenial64 box and installed puppet-agent via the wget...
View ArticleCannot find HOME when running manifest
Hello, newcomer in Puppet. I am trying to fiddle with a box that i created using vagrant. I have used the ubuntu/xenial64 box and installed puppet-agent via the wget...
View ArticleWhat is the default peadmin password
I'm attempting to add an agent for mcollective (installed with PE) and cannot create /usr/share/mcollective/agent without peadmin password.
View ArticleRunning same configuration twice into the same server?
How do I run the same content from puppet master to a single server twice? I am in situation where I have multiple environments, and I should update one of the environments twice. In practice; 1....
View ArticleWhat is the peadmin default password set up as and how can I find it?
I'm trying to install an agent for mcollective and need to create /usr/share/mcollective/agent but cannot without peadmin password
View Articlepuppet-agent-el-7-x86_64.tar.gz Not Found
I am working to do an enterprise puppet install and I am getting a not found when trying to download a file from S3. It looks like the file doesnt exist. One interesting thing I saw is that when you...
View ArticlePE Installation Error
Hi there, I've been attempting to install Puppet Enterprise to evaluate for some time now. Have tried various releases of PE and also of Ubuntu server. Currently using Ubuntu 16.04.1 and PE 2016.2.1....
View ArticleBuilding Custom Docker Images with Puppet ?
I'm trying to build a custom docker image with Puppet but seems like i have something incorrect because the image is never created. please advise. Output From Puppet: Notice: Compiled catalog for...
View Articleinserting a fragment of data into a file that changes during runtime
I have a file in which the application prepends data to during runtime. There is no Augeas lense for this file. And I need a text block to be inserted into this file. Any ideas? Here are some of the...
View Article