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

Untar file in specific directory

I try to download a tar.gz file and uncompress it on /tmp/apps. However i don't want to uncompress it if the directory already exists. If the file exists or even doesn't exist it is downloaded and uncompressed. I cant find my code is missing a…
morla
  • 675
  • 4
  • 15
  • 32
0
votes
1 answer

How to check if package is installed by using unless?

I've created a puppet script to install Azure client and in the last step before using yum install, I want to make sure that the package haven't installed before for prevent from duplicate install. My concept is Execute the script if the output from…
Banthita Limwilai
  • 181
  • 1
  • 2
  • 10
0
votes
2 answers

Pupperserver with Adopt-OpenJDK

We are in transition from Puppetmaster 3.8 to Puppet server(OpenSource) 5.3. As a prerequisite for Puppetserver 5.3 installation requires Java 8 runtime packages. Can we install Adopt-OpenJDK with Pupperserver 5.3?
0
votes
3 answers

Puppet Environments

How to Change default production environment to Development in puppet enterprise version 5.5.2. I tried soem steps but i got "Local environment: 'DEV' doesn't match server specified node environment 'production', switching agent to 'production'"…
ksa
  • 25
  • 6
0
votes
2 answers

puppet facts on centos fails but works in ubuntu

I got following error while running below puppet module. I have 2 agents one is ubuntu 18.04 and centos7 Below code works in ubuntu and stopping the firewall, but in centos i got below error. Error: Could not retrieve catalog from remote server:…
0
votes
1 answer

Puppet Open Source connect to PuppetDB or DB?

I installed Puppet Open Source and I want to read the DB how can I do that and what should I do for it? I found this git repo: the PuppetDB GitHub repo but I cant start anything with it. thanks in advance
Wolf
  • 13
  • 1
  • 3
0
votes
1 answer

Puppet for AD user account creation

Is it possible to use puppet to auto create user accounts in Active Directory? The idea being that puppet could regularly process a text file? or is this really something much better handled outside of puppet using a PowerShell script? i'd be keen…
George
  • 143
  • 1
  • 1
  • 7
0
votes
1 answer

Puppet output to agent without notify

Given the following example: [root@puppet ~]# cat notify_test.pp define test ( Boolean $condition = false, ) { if $condition { notify { "Debug Output of Test[${title}]": } } } $test_resource_name_a = 'A' test { $test_resource_name_a: …
Pali
  • 1,337
  • 1
  • 14
  • 40
0
votes
0 answers

Puppet Enterprise-no implicit conversion of nil into String

I know nothing about Ruby, just started exploring Puppet and want to create custom fact, for a start, used fact found on internet to see how it works: copied code below to…
user10205566
0
votes
0 answers

Puppet-Passwords as plain text in Windows agent output and in catalog file

I encrypted password using hiera: dsc_xADUser {'FirstUser': dsc_ensure => 'present', dsc_domainname => 'ad.contoso.com', dsc_username => 'tfl', dsc_userprincipalname => 'tfl@ad.contoso.com', …
user10205566
0
votes
1 answer

Puppet task run throwing invalid json error

My Puppet sever is PE 2017.3.1 My Agent node is on 5.5 version I am facing an error while executing the command /opt/puppetlabs/puppet/bin/puppet-task run sample --nodes puppet-agent My Sample file is a bash file which contains :…
0
votes
1 answer

How to download puppet manifest file from master using agent?

I have agent connected to master in puppet and I need to copy manifest file and some other resources from maseter using agent - is this possible ?
pablo
  • 11
  • 3
0
votes
1 answer

Maintain sub-folder and files permission as in source: puppet

I have configured a master- client setup for puppet. I have a complete project that I have to copy to agents. There are some scripts (executable) and some jars and some configuration files. Now When I copy copy project, all permissions are changed.…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
0
votes
1 answer

Puppet Enterprise "puppet job run Unknown Puppet subcommand 'job'" although documentation indicates this is available

I have Puppet Enterprise 2018.1 installed. According to this documentation https://puppet.com/docs/pe/2018.1/running_puppet_on_demand_from_the_cli.html I'm wanting to use "Running Puppet with the orchestrator", however the command described command…
Jules Clements
  • 418
  • 5
  • 8
0
votes
0 answers

Provider npm does not support features install_options

I am trying to install a node package globally via package provider of puppet. Unforturnately it doesn't support install_options. I am getting the following error. Debug: /Package[npm-http-server]: Provider npm does not support features…
Sriram
  • 767
  • 2
  • 17
  • 42