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
2 answers

Install Puppet Agent on bulk windows server

Is there any way to install Puppet Agent on bulk Windows server? To achieve this I have created small PowerShell script, but not working as expected. $computers = Get-Content "C:\server.txt" $pm_ip = '10.xx.xx.xx' $port = '8140' foreach ($computer…
R. Patel
  • 49
  • 6
0
votes
1 answer

Puppet Logrotate

I am trying to create a test config for logrotate using puppet. But it seems like I am missing something as it is not creating the rotated file. My requirement is if the logfile exceeds x amount of size, it should rotate the log. Below is the puppet…
sriramsm04
  • 343
  • 1
  • 7
  • 22
0
votes
1 answer

Puppet Enterprise 2018.01 Windows Agent

I am having some issues with the Puppet Agent on Windows. After installation and sign the certificate for my Windows node, when running the puppet agent for the first time, I get this error: Error: Failure to apply catalog: Parameter creates failed…
YongSiang
  • 1
  • 1
0
votes
2 answers

Puppet duplicate declaration error with conditional statement

I'm trying to configure global settings for the Puppet postgresql resource. I want to do it conditionally. I'm using an if statement to configure it depending on the contents of a variable. define setup_postgresql_globals ( $datadir, ) { if…
Christian Long
  • 10,385
  • 6
  • 60
  • 58
0
votes
1 answer

puppet dashboard - should generate SHA256 certificate to puppet master

so I have been trying to bring the puppet dashboard UI up on my server and it is just not happening. i bumped into this article which says I need to sign th epuppet dashboard with puppet master which is one thing I had not done. so I generated the…
Vasanth Nag K V
  • 4,860
  • 5
  • 24
  • 48
0
votes
3 answers

puppet Forbidden request /puppet-ca/v1/certificate/ca

I'm not able to make a puppet node join a master, i'm using puppet enterprise on AWS cloud. Master puppetserver --version puppetserver version: 2017.3.0.38 Node # puppet agent --test Error: Could not request certificate: Error 403 on SERVER:…
client eastwood
  • 103
  • 2
  • 8
0
votes
2 answers

Facing issues in puppetserver - puppet-agent configuration

I am trying to set up Puppet for DevOps. I have puppet server in Ubuntu 14.04 and puppet-agent in Windows 10. When I am generating certificate for the first time from puppet-agent (Windows 10) the SSL certficate is generating without any issues and…
0
votes
1 answer

download jdk 8 using puppet on windows 10

I need to download jdk-8u45-windows-x64.exe on windows and install java. when i use pget it downloads a corrupt/unreadable file. download.pp class role::java { pget{'Download java': source =>…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
0 answers

puppet agent configuration issues with puppet opswork aws

I have created the puppet master using aws opsworks. I got a url to login and was able to login into it. I have issues when I try to add a linux or windows host to the puppet master. for linux I have used the command curl -k…
0
votes
1 answer

Puppet: Install rpm

I am trying to install jdk rpm via Puppet. I have tried lot of manifests but none of them working. At this moment, I have manifest like this class java { #file {' Java 8 rpm file': #source => 'puppet:///modules/java/jdk-8u161-linux-x64.rpm', …
Raja G
  • 5,973
  • 14
  • 49
  • 82
0
votes
1 answer

puppet-service should be stopped only if file exists

According to the documentation in my example, the resource 'service x' will be executed if target resource require => Exec['checkForFile'] is successfully applied. And the exec command will execute onlyif the file '/etc/init.d/x' is present. so…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
1 answer

Puppet - Parameter 'ensure' is already set on host_present[test] - cannot redefine

I am trying to call the same method "host_present" twice. But I am facing the following error Parameter 'ensure' is already set on host_present[test] by # at /opt/puppetlabs/puppet/modules/manifests/host_1.pp:12; cannot redefine at…
Sathish
  • 227
  • 3
  • 11
0
votes
1 answer

Puppet - Puppet master questionable behavior in pulling relevant config from the correct node

I'm new to puppet and I've setup two puppet master instances which are in same IP range. Eg : Assume there are A and B puppet master nodes. A = 192.168.4.23 and B = 192.168.4.66. There are puppet agents configured to to pull from each respective…
StO
  • 147
  • 1
  • 12
0
votes
0 answers

curl: (35) Encountered end of file puppet

I am using puppet-archive https://github.com/voxpupuli/puppet-archive to download jar from nexus repository. /puppetmaster-devteam-starter_kit/control-repo/site/role/manifests/getnexusjar.pp class role::getnexusjar { include…
nad87563
  • 3,672
  • 7
  • 32
  • 54
0
votes
1 answer

Puppet powershell Error with Windows AD

I'm fairly new to puppet and still getting familiar with it. I'm trying to install AD, promote the server to DC and create OU and some users with "jriviere/windows_ad" module (https://forge.puppet.com/jriviere/windows_ad). I succeed in installing…