Questions tagged [puppet-enterprise]

Puppet Enterprise is the commercially supported and packaged release of Puppet.

Puppet Enterprise is the commercially supported and packaged release of Puppet.

It consists of a stack of various Puppet tools:

A Basic Split Installation

Related Tags

250 questions
0
votes
0 answers

Is it possible to update/ write new configuration in hiera_hash with facter or puppet code?

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 configurations in the hiera_hash file. To do that, I am…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
0
votes
1 answer

How do I define the directory in init.pp?

My init.pp looks like below: class checkout { file { '/etc/example/test/testcv.sh': ensure => present, owner => 'root', mode => '0755', content => template('checkout/testcv.sh.erb') } } What this does is, copies testcv.sh to my…
James
  • 193
  • 2
  • 4
  • 15
0
votes
1 answer

How to secure copy using Puppet?

I have been trying to copy a directory from my master to different hosts. I have a script that checks out a code and puts it in certain directory. My script looks like below. #!/bin/bash export CVSROOT=:pserver:anonymous@server101:2401/cvs/PXI/ cvs…
James
  • 193
  • 2
  • 4
  • 15
0
votes
1 answer

Error: Could not autoload puppet/face/node_aws/bootstrap

puppet help node-aws Error: Could not autoload puppet/face/node_aws/bootstrap: cannot load such file -- guid Error: Could not load help for the face node-aws. Please check the error logs for more information. Detail: "Could not autoload…
0
votes
1 answer

How to use Setm with some condition

I would like to change one property name ( "modcluster.proxylist" ) with setm Command and with constraint in Puppet. Following code is not checking my constraint. Any help is much appreciated. Following is my Source XML which i would like to change.…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
0
votes
1 answer

puppet not recognizing supported modules

When I try to install basic Windows modules (new to puppet) they are not recognized when I try to add their classes to a new group. When I list the modules I can see them, when I checked the production module path it is in the right place, why can't…
Matt617
  • 458
  • 2
  • 14
0
votes
1 answer

how to check out code from svn by using puppet as a stand alone

How to check out code from svn using puppet as a stand alone system. I tried too many times using this code: vcsrepo { '/opt/2.0/Alok':ensure => present, provider => svn, source => 'http://svn://url', } Error: Error:…
0
votes
1 answer

Puppet PostgresQL management

I am trying to provision an EC2 instance using puppet. In the process I have downloaded the puppetlabs-postgresql module from puppetlabs. Since I'm fairly new to puppet, i do not want to manage my database by creating classes in my site.pp file…
Hamza
  • 2,180
  • 3
  • 14
  • 18
0
votes
0 answers

Why would Puppet version upgrade automatically?

I had puppet and now the version upgraded automatically. I thought it has to be done manually. Plus I have three different versions in my master(4.2.2) and other hosts under the same environment. What would cause this to happen?
James
  • 193
  • 2
  • 4
  • 15
0
votes
1 answer

how to read hiera value in custom factor

I would like to read value from the hiera for my custom factor. Is it possible ? I am going to populate a factor based on my hiera value. Please look at my following code for your reference. require 'facter' # Default for non-Linux…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
0
votes
1 answer

How to dynamically iterate XML Element in Augeas

I would like to iterate all the child elements in the XML. Is it possible to iterate dynamically ? In other words, I would like to check / edit all the nested elements without knowing the last element number. For eg: In the following "server-groups"…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
0
votes
1 answer

How to use conditional operation in augeas puppet

I can insert/edit any attributes or any text in XML file. Is it possible to insert/edit any attributes or any text in XML File. For eg: I would like to change the value of a property, If it is named as "modcluster.proxylist".
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
0
votes
1 answer

Error while installing puppet-agent on SLES 11

I'm evaluating Puppet Enterprise 2015.2, didn't have any problem until I've tried to install the agent on a SLES 11 box. I've followed the procedure above: 1 - Added class pe_repo::platform::sles_11_x86_64 to PE Master group on PE Console 2 -…
Bernardo Vale
  • 3,224
  • 4
  • 21
  • 34
0
votes
1 answer

Puppet file type with Regex

I need to ensure that file exist inside all sub-directories of specific directory. for example: Ensure that the c:\myFile.txt file and his contect exist at: c:\path\to\folder\*\myFile.txt how is it possible to do that? Thanks.
Oz Bar-Shalom
  • 1,747
  • 1
  • 18
  • 33
0
votes
1 answer

Best way to change xml values in puppet

I would like to change values in domain.xml ( JBoss Configuration file ). Please suggest me the best way to do it with sample examples to change it. I have found the following ways. But No idea, How to use the following functions for xml files. ( i…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48