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

In what order will facts found in files under a module/lib/facter/* be loaded on a puppet client?

I have the following file structure: lib └── facter ├── rackspace.rb ├── system_load.rb └── users.rb I want to use a custom fact value found in system_load.rb (let's call this :system_me fact) in another custom fact that I am writing…
cidi30bg
  • 39
  • 8
0
votes
0 answers

puppetdb facts endpoint not showing custom facts

I am trying to extract a report using puppetdb facts endpoint .I want to know how many servers have a specific setting available which is calculated by a custom fact and returns as a true or false.The custom facter is added in a module and the…
aannjose
  • 62
  • 1
  • 14
0
votes
1 answer

Conditonal resource attributes

To install packages, I feed in data from Hiera into a for loop. Some packages require additional arguments. For packages that do not require an argument, I've set the value to undef, however, Chocolatey reads undef and complains. How do I get the…
woter324
  • 2,608
  • 5
  • 27
  • 47
0
votes
1 answer

Triggering dependent resources in a interation loop

I'm using Puppet to set up workstations and I want to modify the default (NTUSER.DAT) HKLM registry before the user logs on, which involves loading and unloading the hive. I have written some PowerShell scripts to facilitate the load/unload.…
woter324
  • 2,608
  • 5
  • 27
  • 47
0
votes
1 answer

Is there any resource in puppet to create 'cgroup' on linux?

I need to run following command via puppet. sudo /bin/cgcreate -g net_cls:1234567 Looking for some suggestions to create cgroup in puppet using inbuilt resource if any.
chetan honnavile
  • 398
  • 1
  • 6
  • 19
0
votes
1 answer

Having some trouble using module hiera in puppet

I am having some trouble using module hiera data. module: /etc/puppetlabs/code/environments/production/modules/usehiera tree…
0
votes
1 answer

Puppet - Set defined types in Nodes.pp

How to overwrite defined type in nodes.pp? I want to able to set custom domain using nodes.pp. Case Default isn't an option. I'm using puppet 6.0.. The following method doesn't work. It says Could not find declared class resolv::resolv_config. It…
user630702
  • 2,529
  • 5
  • 35
  • 98
0
votes
1 answer

Puppet Could not find command 'cd'

Hi there this part of my code causes an error. path => '/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin', cwd => "/var/rapid7installer && unzip ${install_file}", creates => '/var/rapid7installer/agent_installer.sh', …
Mae Young
  • 3
  • 1
0
votes
1 answer

How to install Puppet Enterprise in Redhat?

I am installing Puppet Enterprise in Master(redhat) and I have followed the below steps. Let me know how to solve this while Executing below command yum -y install puppet-enterprise-installer Getting Error like below No match for argument:…
0
votes
1 answer

Is it possible for a service to notify another resource in Puppet?

I'm trying to get a service to notify another resource, i.e. service { 'x': notify => Exec['y'], } Does anyone know what happens in the scenario where this notify would trigger? It seems like starting / stopping notifies the exec, but I can't…
0
votes
0 answers

Puppet task command does not return output

During executing Puppet task run --nodes ip command i get reports/logs for most of the servers but only for a single server i get "no output for this node ".Even changes are not reflected in that machine while the same command works for rest of the…
ksa
  • 25
  • 6
0
votes
1 answer

Puppet reports returning only hash values for out-of-sync files

When I run puppet agent -t in agent nodes, I get difference values as --- filepath 2019-11-18 05:00:22.136468706 +0000 +++ /tmp/puppet-file20191129-10421-1wpk2cq 2019-11-29 09:57:33.758735026 +0000 @@ -1,5 +1,5 @@ -# server_value…
ksa
  • 25
  • 6
0
votes
0 answers

create certificate and sign it on puppetserver then delivery to client

Its possible to create certificate and sign it on puppetserver then delivery to client?
Andy
  • 51
  • 9
0
votes
1 answer

Running Powershell in Puppet

I Need help with on how to can I run PowerShell in Puppet TASK I do not want it to run using exec cmd or Bolt. exec { 'test': command => '& C:\fail.ps1', provider => powershell, }
User
  • 43
  • 1
  • 3
0
votes
1 answer

Inbuilt feature of puppet Enterprose

Is there any built in feature of Puppet Enterprise that we can use to have a push based mechanism, Apart from Mcollective and Bolt.
User
  • 43
  • 1
  • 3