Puppet error on puppet server
Hi, i'm quite new to puppet. recently i try to install puppet on vm for testing purposes. i got strange error as below. error logs --------------- Warning: Unable to fetch my node definition, but the...
View ArticleIs there any module for configuring Jboss eap 6.4 on RHEL 7.x ?
Is there any module for configuring Jboss eap 6.4 on RHEL 7.x ? I have Puppet Enterprise installed on RHEL 7.x , want to configure Jboss with Hornetq 2.3.25.Final and then deploy application on jboss...
View ArticleHow do I iterate through similar "file" resources
My Sample code shown below. How can I simplify this into just one file resource? My collection will so grow to dozens of files, and I could eventually use the `recurse => true` attribute for `file`...
View Articlepuppet master.answer file installation
HI , I try install on AWS EC2 instance , i am facing some issue in master.answer file q_puppet_enterpriseconsole_inventory_hostname=${HOSTNAME} Which Hostname i have to entry here (eg: locahost of my...
View ArticleAttempt to assign to a reserved variable name: 'trusted' on node
I enabled `trusted_node_data` on a working server to get structured facts and now the clients raise this error when I run the agent: Attempt to assign to a reserved variable name: 'trusted' on node xxx...
View ArticleError: Could not find a suitable provider for route53_a_record
Hi, I'm trying to use the puppetlabs aws module to setup a DNS record for the current host. I installed the module from puppet forge, I installed the aws-sdk-core and retries gems, I tried installing...
View ArticleSyntax error with "match" function
I am using Puppet 3.8.1, and we were not able to run the "match" function properly. The error message is: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '.';...
View Articlehow to use variable on file declaration
I am trying to use variable with empty name space on file declaration but I am getting the following error. I thought this can be done if I am referring to a top-scope variable. Any thoughts?...
View ArticleCreating Structured External Facts
How does one create structured external facts? Specifically, I am attempting to write an external fact with bash that returns an array of zero or more strings.
View ArticleManaging multiple module's tests
Hello, We currently have a monolithic repository with all of our puppet modules in it. It is part of our entire system's code, and we want to run the rake tasks as a part of our overall build. I know...
View ArticleEditing Templates with hiera
Following mentioned is some of the portion of my .erb template,where I am able to define "LogFile" path and "LogFileSize" with hiera for per host configuration. ### Option: LogFile LogFile=<%=...
View ArticleCan I share certificates between multiple Puppetmasters to achieve High...
I currently have my puppetmaster (v4.4.1) running on an AWS EC2 instance. At the moment I only have 3 agents connected to my puppetmaster, but in future this could increase to 100+ agents. This could...
View ArticleWhat's the workflow to contribute to existing Puppet forge module?
There is this module called "camptocamp/postfix(https://github.com/camptocamp/puppet-postfix)", for which I would like to submit fix/feature. I have been using Puppet at work for last couple of months...
View ArticleI have puppetlabs-release-pc1-cisco-wrlinux-7.noarch.rpm. Do I need internet...
Installing puppet in LINUX RHEL
View ArticleI have puppetlabs-release-pc1-cisco-wrlinux-7.noarch.rpm. Do I need internet...
Puppet master installation in LINUX RHEL7
View Articlerun puppet apply from powershell as user data script on aws
Hi, I ran into this problem a while ago but still cannot find any reliable solution. I pass a pwershell script as user data script when i instantiate a ec2 instance on amazon. it installs puppet...
View ArticleHash/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 ArticleMoM keeps changing auth.conf authorization rules
Hello all, I have a nice challenge considering file-sync between the MoM and Compile Masters, file sync works perfect, except we have a little re-occuring change in file-sync. We have the following...
View Article"undefined method `parameters' for nil:NilClass" error in rspec-puppet
Hi, I have below manifests for firewall module class mod_firewalld { firewalld::service { 'tsm': short => "storage manag", description => "backup", ports => [ { port => "4335_7542",...
View Articlepluginsyncdest vs. windows expected external facts location
I am curious why the default `pluginsyncdest` directory, for windows is:> https://docs.puppet.com/puppet/latest/reference/configuration.html#pluginfactdest pluginfactdest Where Puppet should store...
View Article