Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Browsing all 6104 articles
Browse latest View live
↧

Puppet can't apply; Error: wrong number of arguments (2 for 1)

We are running into this error while running our modules on the Puppet 4.3.2. The same module works fine on Puppet 3.7.4. Not sure what is Puppet complaining about? Any help is greatly appreciated. Our...

View Article


How to create folder name with current date and time in windows 8 machine...

I am using Windows 8 machine as agent.I want to create backup folder having the name of current date and time.

View Article


Server-Facts: Get all IPs

Hello, I would like to add exceptions to `fail2ban` or `lfd` - so I need to know all ips of the node. In the documentation of the server-facts I only found the master-IP. Is there a way how to get all...

View Article

getting output of a custom type/provider through facter.

Hi There, I'm using the local_security_policy module, and while I can get a complete listing on the local windows box running "puppet resource local_security_policy", I'm having difficulty executing it...

View Article

code manager

Hello, I was going through the documentation on r10k and found the instructions on code manager regarding Puppet enterprise, please clarify if I can use code manager on open source puppet, if yes,...

View Article


running Puppet on this node 2015.3 (API ?)

Hello, i noticed that there's a new section on every node called "running Puppet on this node". Right now i use mco for remote execution of an agent run but need this function to have integrated in my...

View Article

New puppet 4.4 installation do not see module

I have new puppet 4.4 installation on Debian 8. I installed only 1 module - **puppet module install puppetlabs-accounts** I created /etc/puppetlabs/code/environments/production/manifests/site.pp with...

View Article

Error with Agents connecting to Master

Hello all, Quite new to puppet. I had an issue of all puppet agents had a revoked certificate including the master itself. I decided to recreate the ssl directory on the master so the only cert now is...

View Article


hiera command line fetch particular value

I have data in hiera like below, nodes: - hostname: lb01.example.com ipaddress: 192.168.22.21 - hostname: lb02.example.com ipaddress: 192.168.22.28 Is it possible to get the IP Address of node...

View Article


Disc Golfing - A Newbies' Manual

During Memorial Working day weekend, Blue Mountain christened their Slopeside 9 Disc Golf programs. Developed by Dan Doyle and Steve Brinster, Blue Mountain installed their Skyline Park program atop...

View Article

How to change the ruby version for a Puppet version?

What is the easiest way to use a different (latest) version of Ruby for a particular Puppet version? I have a latest Ruby (2.3.0) installed on my system using RVM and now I am trying to install Puppet...

View Article

err: Could not request certificate: Retrieved certificate does not match...

Hi, I'm getting the below error when running "puppet agent --test" after locking down a node, in order to test changes from my local puppetmaster (I SSH'd from my Puppetmaster, binding the 8140 port)....

View Article

Trigger hostnames

Hello all, I did currently setup a full puppet architecture with a master and some nodes... (classic...) My site.pp looks like that : node default { include plop_infra_common include plop_common_user...

View Article


Is it possible to update/ write new configuration in hiera_hash with facter...

I would like to update and maintain my configurations in hiera_hash files. Already, The Hiera_Hash file holds some predefined values. Based on users input I would like to add/ update the new...

View Article

Hash/Array Fact Stringified When POSTing To Master

I have a module with customized fact named `foo`, which is a hash value like: foo => { "running" => false, "version" => '0.1'} In the manifest of the module, I need to read `foo[running]` to...

View Article


master certificate deleted accidently

Team, We have 300+ nodes in our environment. I accidently cleaned the puppet master certificate (puppet cert --clean puppetmaster), but there was a backup for the master server, so i could restore the...

View Article

puppetlabs tomcat setenv executable

Hello, I'm using puppetlab's tomcat module, and i am using the below mentioned code to set an environment variable WAS_ENV. The setenv.sh file gets created in the default dir , however the file...

View Article


dependency ordering in profile

I've read [this question](https://ask.puppetlabs.com/question/15385/whats-best-practice-when-combining-roles-profiles-containment-and-ordering/), but it's more specific about an 'inner' dependency than...

View Article

is it possible for me to purge specific ssh key from the list of keys in...

I would like to purge only few specific ssh keys from the list of all the keys in authorized_keys file on the agent using puppet master. I tried using purge resource, but all the keys in authorized...

View Article

Puppet Enterprise Installtion Err

HI - I tried installing PE on RHEL for our POC and we are running into installtion issues. I tried several options and also followed :http://projects.puppetlabs.com/issues/21495: But i'm stuck with the...

View Article
Browsing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>