Questions tagged [puppet]

Puppet is a ruby-based Configuration Management system incorporating a model-driven DSL. Its purpose is to provide configuration file enforcement, service state monitoring, package installation and other server-side management.

Puppet is a ruby-based Configuration Management system made by Puppet Labs.

Puppet has its own DSL, a model-driven language.

Its purpose is to provide configuration file enforcement, service state monitoring, package installation and other server-side management.

Functionality is provided by types. Out of the box, puppet comes with a number of commonly used types such as package, service and file.

It can be extended with modules available from the Forge.

Puppet is written in Ruby and licensed under the Apache v2 and the source code is avaliable on Github.

Useful Links:

See Also

4080 questions
1
vote
1 answer

How to ensure that App Fabric is installed on a Windows Puppet Agent

I am trying to setup App Fabric on a Windows Puppet Agent. I have the following configuration: Linux Puppet Master (CentOS 6.5) Windows Puppet Agent (Windows Server 2008 R2) Puppet version 3.8.2 I am using the following manifest to insure that App…
Rahul
  • 403
  • 3
  • 9
1
vote
1 answer

Puppet replaces "=" with whitespace

I am running a puppet manifest with the following Exec: exec {"mvn-project" : command => "maven.bat C:\\src\\project -Dmaven.test.skip=true", } the "=" sign is replaced with whitespace, resulting in the batch file being called as…
1
vote
1 answer

Foreman v1.7 Environment blank/null

Issue: In Foreman I see the Environment column empty for this (and any other client) I try to add. Environment: I have a Foreman 1.7 Server with 2 additional Puppet masters (3.8.2) which are seen in Smart-Proxies and look healthy. I have created a…
rpsiv
  • 11
  • 3
1
vote
1 answer

How to use return value from a Puppet exec?

How can I make the below logic work? My aim is to compare the value of custom fact $environment and the content of the file /etc/facter/facts.d/oldvalue. If the custom fact $environment is not equal to the content of file…
Kevin M
  • 45
  • 1
  • 8
1
vote
0 answers

Beaker Error: getaddrinfo: Name or service not known

I am writing an acceptance test for my Puppet module using Beaker. My module depends on PuppetDB to get some info. To add PuppetDB dependency, I added dependency 'puppetlabs/puppetdb' to my Modulefile and this mod 'puppetlabs/puppetdb', path:…
Prabhjot
  • 4,496
  • 2
  • 18
  • 22
1
vote
2 answers

overwrite facter 'osfamily' value

I extended a module (pdxcat/collectd) by calling it from my module. The base module prefers to identify Amazon Linux OSfamily as 'Redhat' but the facter installed by puppet on the Amazon Linux OS reports the os as 'Linux'. I want to correct this bug…
uday
  • 142
  • 2
  • 12
1
vote
0 answers

Puppet-Master / Puppet-Agent Deployment fails due to the puppet modules metadata.json file permissions

I am using the Puppet Master / Puppet Agent deployment in CentOS 6.5 64bits. My problem is about doing the request from Puppet Agent in order to start the puppet modules's installation. When I execute the following commandline from…
xserrat
  • 1,429
  • 1
  • 13
  • 12
1
vote
1 answer

Puppet to Ansible, how to example

I'm in the process of setting up Ansible to take over for a puppet install. I see puppet manifest that is setting up a ypbind file, and it pushes out a slightly different version of the yp.conf file based on hostname. So I have the following puppet…
1
vote
0 answers

Vagrant up issue

We have a network that requires a proxy to go to the internet, I have a local Mac that we’re setting up for Drupal development and have HTTP_PROXY and ALL_PROXY set and everything works fine using bower, gem and librarian-puppet scripts from our…
jelly46
  • 243
  • 3
  • 14
1
vote
1 answer

razor-admin migrate-database failing on IDENT Error when razor user can log in to the database

https://gist.github.com/predatorian3/fbf6d34b0a9958212c3c I recently tried to setup Razor Server using the documetnation provided here:…
FilBot3
  • 3,460
  • 6
  • 33
  • 55
1
vote
1 answer

Puppet class orders break using defines

I have a level of dependency in the order of modules being applied: class build() { # define order Class['base'] -> Class['config'] -> Class['app'] -> Class['sso'] class { 'base' : ... } class { 'config' : ... } # etc } class…
rjinski
  • 615
  • 1
  • 7
  • 12
1
vote
1 answer

Puppet-4.2: Loading Plugins from Modules

I have a bunch of custom types and providers written and tested against Puppet 2.7.whatever. The said types/providers sit in a dedicated module, which contains only lib subdirectory with all extensions under it. The custom types are tested from…
badbishop
  • 1,281
  • 2
  • 18
  • 38
1
vote
2 answers

Puppet unable to find environment

I have a simple Puppet environment, just started with one master and one agent. I am getting following error when I do puppet module list from my agent. I run puppet agent -t it is not even going to my site.pp and test.pp. I am not sure if I am…
user3330284
  • 373
  • 2
  • 6
  • 14
1
vote
0 answers

Puppet template does not find module function

I'm trying to use icinga2's puppet module which defines a custom function and a template where it is used. I'm using the following (stripped) hiera configuration: icinga2::object::host: host.com: target_file_name: host.conf display_name:…
1
vote
2 answers

Puppet advanced default params

Basically I have a puppet class cassandra_manager::params. I have a ton of params set like so: # etc... $cluster_name = undef, $num_tokens = 256, $initial_token = undef, $hinted_handoff_enabled = true, # etc... Now most of these ones set undef, I…
Ethan Brouwer
  • 975
  • 9
  • 32
1 2 3
99
100