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
2
votes
1 answer

Module name and directory name conflict?

I created a module named 'learn-tomcat' and it has a class named tomcat (in init.pp). When I try to include this class in a node definition, it does not work, all of following combination throw an error, the combinations are: include…
Vishal Biyani
  • 4,297
  • 28
  • 55
2
votes
1 answer

How to automate adding a Node to a Group?

I have just switched to Puppet Enterprise 3.8 from PE 3.3. I use to use the rake api to create my groups, classes and nodes. This no longer works in PE 3.8 and there does not appear to be any documented way, other than using the dashboard…
Red Cricket
  • 9,762
  • 21
  • 81
  • 166
2
votes
1 answer

runintervel in puppet - Will old catalog will be applied again when there is no change in manifest?

I have runinterval=180s in my puppet.conf file (agent node) Consider there are no changes in my manifest file. When the agent polls after 180 seconds, and there are no changes in the manifest file, Will the old catalog will be applied once again? My…
Vinoth
  • 21
  • 3
2
votes
1 answer

Overwrite index file in /var/www with vcsrepo

I am trying to make a puppet module which will overwrite the default index.file (which comes with apaceh2) in /var/www/ with the index file I have in my git repository. I am using the puppet plugin Vcsrepo to clone the repository. vcsrepo {…
user4647247
2
votes
2 answers

puppet apply 'could not find class'

This is a pretty simple problem, and I have read a number of suggested solutions, but I still can't get puppet apply to import the git::config class. Here is my file setup: I import the git module via nodes.pp: #/etc/puppet/manifests/nodes.pp node…
Ajax
  • 1,418
  • 2
  • 17
  • 38
2
votes
0 answers

Getting error in puppet node_gce

I am getting the following error while running the puppet help node_gce command: [root@puppetmaster ~]# puppet help node_gce Faraday: you may want to install system_timer for reliable timeouts Error: Could not autoload…
1
vote
1 answer

How to ignore extra symbol in Puppet

I'm trying to execute the following module in Puppet this and got the error: [root@localhost modules]# puppet apply jenkin_install.pp Error: Could not parse for environment production: Syntax error at '8080' at…
med.guy
  • 11
  • 1
1
vote
2 answers

How to replace file if checksum is different and then restart the service?

How do I compare a file in tenant VM and replace it if checksum is different from the source (catalog pulled from Puppet Master)? Subsequently restart the service if file is replaced. Do nothing if file is the same. File in tenant VM…
kaiilim
  • 579
  • 12
  • 31
1
vote
1 answer

Puppet copy file if not empty

I have a requirement where I need to check for a file on the puppet master and copy it to the agent only if it is not empty. I have the following so far: exec { 'check_empty_file': provider => shell, command => "test -s…
1
vote
1 answer

Running manifests (classes) from a task or plan in Puppet Enterprise

TL;DR In Puppet Enterprise, how do I run a manifest (testpp.pp) from a task or plan (not…
woter324
  • 2,608
  • 5
  • 27
  • 47
1
vote
1 answer

Puppet - Service require package before starting not working

Puppet is trying to start the service when the package is purged. As a test I configured the package to be purged. But the service section is trying to start the zabbix-agent service. Any idea what went wrong?.. package { 'zabbix-agent': name…
user630702
  • 2,529
  • 5
  • 35
  • 98
1
vote
1 answer

auto-create require parameters by data in hiera

Is there a way to create the require parameter by hiera? Maybe it's possible to lookup but I am new to puppet and don't know all possibilities. I am using the oneview-puppet module to create resources from a puppet apply. The resources were created…
rico_nem
  • 13
  • 3
1
vote
0 answers

Configure node-purge-ttl (delete expired nodes) on Puppet Enterprise (OpsWorks managed)

I have an AWS OpsWorks Puppet Enterprise instance and I want to configure the node-purge-ttl property (https://puppet.com/docs/puppetdb/5.1/configure.html#node-purge-ttl). After 3 days the disconnected nodes are purged and I want to avoid it, I need…
AlejandroF
  • 21
  • 1
1
vote
1 answer

Iterate over a Puppet Hiera hash in a puppet manifest

Update 1 I've changed the structure of the Hiera data a little and trying a different manifest style. I'm trying to iterate over the following Hiera hash in a Puppet manifest: windows-10.yaml: --- message: "This node is using Windows 10…
woter324
  • 2,608
  • 5
  • 27
  • 47
1
vote
1 answer

Puppet calls same service in multiple module?

I have a puppet module A. In that module I have a service restart for a change in file. class A::test1 { include ::corednsclient service { 'sshd': ensure => running, enable => true, } } Now , I have a different puppet module B. In…
melvil james
  • 592
  • 7
  • 18
1 2
3
16 17