Error retrieving class definitions
Hi, i'm testing automating puppet enterprise with scalr using this tutotial, https://scalr-wiki.atlassian.net/wiki/display/docs/Step+1+-+Installing+Puppet+Enterprise. I had to make some changes to the...
View Articledocument module with YARD in separate file
How do I get the YARD rendered from another file? # name: foo # desc: blub # auth: me # two blank lines in front of docstring+class for YARD # {include:file:yrd/init.yrd} class foo ( String $bar =...
View ArticleFailed to apply catalog : received 5 server error responses from node manager...
When I try to install puppet enterprise in my red hat enterprise Linux machine I get the error connection refused in the port 4433. I tired changing the port in the pe.conf file . Even then the same...
View ArticleHiera 4 and eyaml
Hi, Is there any way to use eyaml with the new [environment-specific hiera 4 configuration](https://docs.puppet.com/puppet/latest/lookup_quick.html#hierayaml-version-4-in-a-nutshell)? The docs say:...
View ArticlePuppet out of sync in foreman
Hello, I am managing a certain number of nodes in foreman and I have some issues with certain nodes which are out of sync after a certain moment. The certificate is OK, date is correctly synced and...
View Articlelearning VM hanging.
Hi , I am new to puppet. I had downloaded learning vm (centos) and imported the ova file into my vmware workstation pro. But when i start my learning vm the system hangs. Host is windows10 running on...
View ArticleREADME.rst files?
Does anyone know if the Forge supports modules with README files in Restructured Text format? I know [Github will handle .rst files](https://github.com/github/markup#markups), but I can't see anything...
View ArticleHow do you get a manifest to work when it stops after 300 seconds even when...
Why would a Puppet Manifest stop running after 300 seconds with no error? I have Puppet Master 4.x (enterprise edition) on RHEL 6.7. I have Puppet Agent on RHEL 6.7. I have a manifest that runs and...
View ArticleTemplate incompatible with Puppet 4 but works with Puppet 3
Using 'setroubleshoot' module located at: https://github.com/treydock/puppet-module-setroubleshoot, I have been having trouble getting Puppet 4 to do a 'for each' loop in the template file against the...
View Articleparameterizing configuration: where do you draw the line?
I would like to post this here as I have had a few interesting discussions around this. This of course differs based on application but I have come across a lot of applications where at some point this...
View ArticlePuppet best practice. Class parameters vs. hiera_hash()
Hi, I was wondering what is considered best practice when it comes to delivering hiera data to my puppet classes. Example 1) class os_accounts ( ) { create_resources('user',...
View ArticlePuppet Key 4BD6EC30 got expired on 5th Jan 2017
Hi Team, Puppet Key 4BD6EC30 got expired on 5th Jan 2017 apt-key list | grep -i expired pub 4096R/4BD6EC30 2010-07-10 [expired: 2017-01-05] I am not able to download the new key from the Keyserver....
View Articlepuppet server name
Is it mandatory to install puppet tool on server with name "puppet"? Please advise. Thank you, Sachin A
View ArticleUnknown Puppet subcommand 'enterprise'
Hi, I'm in process of upgrading PE 2015.3.1 to 2016.4.2. In the process, I've upgraded it to 2015.3.3 version first. It went smooth. Then, I'm trying to upgrade it to 2016.4.2. On puppet master, when...
View Articlehas_key(): expects the first argument to be a hash, got String
Hi, I have troube understanding this maybe somebody can enlighten me: A have written a custom fact(ruby) which stores a hash in the puppet facts hash. The result looks like this: filesystem_size =>...
View ArticleHow To Get Access Facter Hash Key in Puppet?
How To Get Access Facter Hash Key in Puppet? I am creating a manifest to get an Agent's partition name. The fact `$partition`s shows the detail of the partition info....
View Articleiterating over a deep nested hash
I have the following hiera data. I'm currently using 3 nested each functions to get the values of the data. Is there a simplest way to iterate over all values ? --- apache::hosts: dxgav01: acdx:...
View ArticleHow to have more than 1 exec, with at least 1 exec should execute successfully?
Hi, I am having a scenario where I have 3 IPs, but not sure which is the proper one. So I want to execute some command with each of the IP. If the command is successful with 1st IP, it should not...
View ArticleCan we use multiple hiera files in puppet-rspec?
hiera.yaml --- :backends: - yaml :yaml: :datadir: spec/fixtures/hieradata :hierarchy: - common - linux01 - linux02 - linux03 linux01.yaml: hieravariable: lx01 linux02.yaml: hieravariable: lx02...
View ArticleAdd variable in line that contains double quotation mark (")
Hello I am new with Puppet and creating configuration file. I would like to add the hostname as variable in the line. However, it got an error I think because of double quotation mark (") in the line....
View Article