Can augeas resource edit a file outside the recognized path ?
Hi, I need to add lines in the .ssh/config file of a specific user. I choose to use augeas to do so, because, in reality, it is a collection of various exported resources. So basicaly :...
View ArticleUnable to start Puppet Enterprise Puppetserver
Hi Guys, I download puppet enterprise VM and was trying to start puppetserver and I get the error below:`Logfile name=puppetserver.log 2017-06-08 06:27:08,286 INFO [async-dispatch-2]...
View Articlefact vs variable (scope question)
if I have a fact called `datacenter`, and my class has a variable declared (in the console) called `datacenter`, which one gets presence over the other? Or is this going to be a big "mess" and have to...
View Articleview my inheritance relationships?
Greetings. I'm not sure if I'm using the word **inheritance** the way Puppet uses the word. It's the only word I can think of. I have a site manifest with lots of profiles. For example: class...
View ArticleHow to Copy files from server based on underlying OS.!?
Hi Team, If `OS=Linux`, i need to copy `splunk_forwarder_linux.tar.gz` to /opt/splunk/ location. If `OS=AIX`, i need to copy `splunk_forwarder_aix.tar.gz` to /opt/splunk/ location. If `OS=SOLARIS`, i...
View Articlevardir translation problem
Hello, Just wondering if it's possible to reference the puppet agent's vardir in a puppet class instead of it defaulting to the master's value? We have a puppet class that creates a directory defined...
View Articleaugeas: update xml value based on previous tag
Hi, I have a simple issue while updating xml file but I'm not able to find the solution after trying many things out. I am trying to update password based on the username which is defined in just...
View ArticlePassenger problem
Hello I've installed puppet server but I couldn't implement apache with passenger along together. apache works fine but I think there is something wrong with passenger. Also I have no access to...
View ArticlePassenger fails on RHEL/CentOS 7
I've been beating my head against RHEL 7 (CentOS 7) trying to set up a puppet master. I'm using IPA and NSS for certificate management, and those problems appear to be solved. I can run the puppet...
View Articlehiera lookup not working at module layer
I am not getting why my hiera code is not working though everything seem alright. I am using Puppet 2017.2 and configured hiera 5. I have defined module layer hiera and removed global heira file....
View Articlehow to start with puppet in RHOS
puppet-master -- version gives the verson as 3.6.2 how can i check the list of agents installed in it pls provide a link to start Also how i enable puppet GUI link
View Articleunable to connect agent to puppet master
using command: puppet agent -t error is: Error: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled in agent server,i can...
View Articlehiera interpolation
I have module called mdwcfg which is used for hiera configuration: mdwcfg/hiera.yaml: --- version: 5 defaults: datadir: data data_hash: yaml_data hierarchy: - name: "wld-pil-03" path:...
View ArticleRequire on class not working, class parrtitly applied.
Hi. I've run into a strange issue with class requirements. Puppet needs to add a private repository before it tries to install etcd. I'm using the role/profile setup and the class are defined as...
View ArticleRequire on class not working, class parrtitly applied.
Hi. I've run into a strange issue with class requirements. Puppet needs to add a private repository before it tries to install etcd. I'm using the role/profile setup and the class are defined as...
View ArticleTesting Puppet code and deployment
I am new to puppet world.. Based on my project we have written manifests to configure Azure VM accordingly. But customer is expecting some testing tools for both Manifest and deployment. Any one used...
View ArticleI'm confused about scope. Shouldn't this work?
I have a class class test { notify { "The value of \$foo is $foo" : } } And I have a node node agent1 { $foo="bar" include test } And when puppet runs, I get > notice: The value of $foo is bar Cool....
View ArticleAutosigning puppet master certs in a multi-master environment
I'm running a multi-master setup with a centralized CA. The full stack runs in a docker swarm with containers running puppetserver as strictly non-CA masters, and a puppetserver-based CA with a mounted...
View Articleeasiest way to determine how a class is assigned to a node
I am trying to identify how a given puppet class is assigned/matched to a node. I cant find a "classification" that has the class. Thanks! sb
View ArticleOverwriting Puppet params.pp variables with Hiera
I want to overwrite some default variables in the params.pp file in a Puppet module. The section I am looking to do this on is an if statement: if $::osfamily == 'RedHat' { $defaultsiteconfig = {...
View Article