Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL)

learn more… | top users | synonyms

0
votes
0answers
13 views

glusterfs with puphpet on ubuntu 14.04

I am not able to find peers on two ubuntu 14 servers. I am using puphpet.com to make my puppet machines. I followed this tutorial: ...
0
votes
1answer
14 views

How use global parameters in Forman?

I'm new in Foreman, and I want to use a parameter for all my hosts managed by puppet and I think to use the global parameters it's a good way. But I can't understand how use it. For exmple if I take ...
5
votes
1answer
150 views

Managing puppet modules with git

I have a puppet/foreman server running on Debian 7 for managing my systems. I use the community version 3.7 of puppet and foreman 1.6.0. I use directory environments. At the moment I use a rather ...
0
votes
1answer
15 views

Cant use npm as provider with puppet

I am attempting to do the following in puppet: package { 'bower': ensure => present, provider => 'npm', require => Class['nodejs'], before => [ Exec['npm_install'], ...
1
vote
1answer
20 views

Puppet directory environments and the $environment variable

Like many (I hope), I am preparing for Puppet 4 by separating out my manifests into environments. I intend on having 3 separate environments: qa, staging, prod. In setting up the manifests initially, ...
0
votes
1answer
37 views

How to get Run Puppet button working on Foreman?

First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS ...
0
votes
0answers
31 views

Server provisioning without PXE

I have a lot of servers in different data centers which should be reinstalled from time to time. I am familiar with Puppet so I am able to configure the O/S after it boots up but I can't perform an ...
1
vote
1answer
23 views

change puppetdb dump location instead of /var/log/puppetdb

I have seen a few hprof dumps of puppetdb indicating crashes. While I investigate that is there a way to configure that dump location to be somewhere else. While I do have space constraints on ...
0
votes
1answer
20 views

Creating a self-governing puppetmaster (puppetlabs)

I am working on my first puppetlabs puppet installation. I have a question concerning the overall setup. Is the puppetmaster able to govern it's own server as it governs its puppet agents? Is there ...
0
votes
0answers
24 views

Beaker with docker and ubuntu-upstart image doesn't start container

I am trying to get Beaker to integrate with an Upstart enabled dockerfile. This is my current nodeset: HOSTS: ubuntu-server: roles: - master platform: ubuntu-14.04-x64 ...
1
vote
2answers
33 views

Testing a docker instance with beaker

I have a suite of Beaker tests running against a docker host. I dont know the intricacies of how docker handles swap files, but it seems that it doesn't like it. The Puppet code looks like this: ...
0
votes
1answer
30 views

Making logrotate remove old logs after reducing 'rotate' value

I'm trying to reduce the number of log files kept for Apache by reducing 'rotate 52' in /etc/logrotate.d/apache2 to 'rotate 8'. With weekly rotation this should keep 2 months of logs instead of a full ...
0
votes
0answers
21 views

Remote server lost login information during puppet deploy

Let me discuss some background on how this situation came to be first. Skip the first paragraph if you're not interested in the details. I am in a committee in my study community that manages said ...
-1
votes
0answers
18 views

How to execute find the directory of the currently executing file in puppet

I am currently executing a script using a hardcoded absolute path: define do-foo() { exec { "Set up foo": command => "/absolute/path/to/my/puppet/project/scripts/my-script args", } ...
-1
votes
0answers
26 views

Bulding PaaS on top of IaaS (AWS), which approach is better: Chef/Puppet/Ansible/Salt/etc. directly or on layers like OpenShift, Cloud Foundry? [closed]

The situation is: You use AWS as an IaaS, and you need to build your own PaaS for your developers. One approach is to build that PaaS using platforms like Chef/Puppet/Ansible/Salt/etc. Another ...
-2
votes
0answers
15 views

Push Powershell Module for Windows Puppet Client from GIT [closed]

I am having powershell script in GIT, And Puppet Client Installed on Windows-2012 server. How can i run powershell script on puppet client, what are steps to follow ? Being Newbie, please help me with ...
0
votes
0answers
23 views

Installing suPHP with PHP5.5

I'm using PHP 5.5 on my CentOS server and installed using yum and the webtatic repository (package is php55w). I need to use suPHP on my server but I realize that the mod_suphp package available ...
-3
votes
1answer
32 views

Puppet: Execute script relative to file [closed]

I'm totally new to Puppet, so I'm sorry if this question isn't even well-formed haha. I'm trying to use Boxen to set up my new Macbook Pro. I've found a script that will help me manipulate what is in ...
1
vote
0answers
31 views

Getting the error “Error 400 on SERVER: Invalid parameter” when defining a type for a yumrepo

I am trying to define a type to create yum repos. I want to be able to pull the data from common.yaml and have this define pull in that data and act upon it. I have not gotton that far and I am ...
1
vote
1answer
25 views

Puppet dashboard

I saw your comment on "Puppet Dashboard replaces site.pp". How did you link together normal /etc/puppet files with Dashboard? I can see all my nodes in Dashboard, but Dashboard classes have nothing ...
0
votes
0answers
28 views

puppetboard unable to reach PuppetDB

I've installed puppetboard onto a working puppet server that uses the puppedb successfully. I installed puppetboard via the pip method. However I am getting an error when I load the page for the ...
0
votes
0answers
19 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
1answer
24 views

Override resources in puppet classes

Let's assume i have a site.pp like this: class videoServer { file { '/root/testFile' : ensure => present } file { '/root/testFile2' : ensure => present } file { ...
0
votes
0answers
20 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
2
votes
2answers
53 views

Access arrays/hashes in facter 2 facts

In facter 2 you can now have arrays/hashes as facts. For example: os => { "name"=>"CentOS", "family"=>"RedHat", "release"=>{ "major"=>"7", "minor"=>"0", ...
0
votes
1answer
32 views

Install of hiera-puppet-1.0.0-1.el6.noarch conflicts with file from package puppet-3.7.1-1.el6.noarch

Installing puppet and hiera sudo rpm -ivh http://yum.puppetlabs.com/el/6.4/products/x86_64/puppetlabs-release-6-11.noarch.rpm sudo yum update -y sudo yum -y install vim unzip rubygems puppet ...
2
votes
2answers
51 views

Is there a way to have puppet create a user's home folder (managehome) but not delete when ensure is 'absent'?

My first thought was doing something like this: define my_user( $name = $title, $ensure = present, $uid, $gid, $password, $groups, $comment, $shell ) { $managehome = $ensure ? { present ...
1
vote
1answer
38 views

Puppet template if defined syntax

I am having trouble finding a solution in Puppet documents. I am trying to define a variable in Puppet template. For example: If class graylog2 and apache are defined in node class section then the ...
2
votes
1answer
26 views

Having puppet use yum --installroot for certain nodes

I have a case where we are throwing together diskless node images that get thrown out to nodes via PXE and then mounted via a ramdisk. To build these previously we have just installed packages with ...
0
votes
0answers
40 views

OpenLDAP Invalid credentials on CentOS 7

Afternoon all I'm using Puppet to provision some OpenLDAP servers. The module I'm using is: datacentred-ldap, and the manifest I'm using looks like: ldap-class This process works fine on CentOS 6 ...
2
votes
1answer
255 views

Why does Puppet need two runs to update bash?

Im learning puppet, and Im trying to update bash (no prizes for guessing why). This is in my site.pp file { "/etc/apt/sources.list.d/shellshock.list": source => ...
1
vote
1answer
24 views

Puppet manifest versioning

How does puppet manifest versioning work? I can't find any documentation around this area. Most stuff I read so far says to check in to svn and do update on puppet master, but unless a puppet client ...
2
votes
1answer
51 views

Puppet's issue: Configure WAN interface, reload network in the process result in broken agent's run

A little background: I want to use puppet to fully configure RHEL6 servers freshly after they have been installed with kickstart, the kickstart itself is fully automatic and provide dhcp-enabled ...
1
vote
0answers
19 views

LiveCD with puppet razor

I have a couple of servers and want to provide live cd and O/S reinstalls using razor-server from a self-coded panel. Razor has very bad documentation and i saw only some bits of info regarding O/S ...
0
votes
1answer
68 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
0
votes
1answer
26 views

puppet stage syntax error

I have a shell script to install nodejs module packages which should be execute after all packages are installed. I defined a stage 'last' after the Stage[main] here is my code stage { 'last': } ...
0
votes
2answers
28 views

failed to copy a shell script from host to a vagrant box

Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure c:\myproject\ Vagranfile puppet\ files\ ...
1
vote
2answers
38 views

What is required to transition a puppet installation to use directory environments?

I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the ...
0
votes
1answer
37 views

Puppet agent on Windows - Warning messages in Windows Application Logs

I have puppet master 3.6.2 on Linux and puppet agent 3.6.2 on Windows Server 2008 R2 On the Windows servers in Windows Application Logs I have Warning messages: Log Name: Application Source: ...
0
votes
1answer
19 views

Ensuring that a list of all puppet nodes with certain facts is current

I am using puppet to manage about a dozen nodes. One of the servers has a monitoring tool that requires a list of all the nodes and some basic specs. I want to utilize puppet to ensure that the list ...
3
votes
1answer
47 views

How can I get Puppet generated configuration to include internal hostnames of other ec2 instances in my CloudFormation stack?

I have a stack generated by AWS CloudFormation that includes an EC2 instance (running Ubuntu 14.04) and an RDS (database) instance. They are both inside a VPC, which includes a puppet master (not as ...
-7
votes
1answer
70 views

Use puppet to update Yum repository [closed]

I have just started working on puppet and successfully installed the master server and agents. As part of my test, I am of the understanding that Puppet can replicate my configuration to the different ...
0
votes
0answers
77 views

Foreman-Installer failed to install - puppet cert --generate FQDN returned 23 instead of one of [0] - Ubuntu 14.04

I tried to install Foreman serveral times at my Ubuntu 14.04 Server. Foreman 1.5 and 1.6 always fail at the same time with following error : /usr/bin/puppet cert --generate ubuntutest.domain.com ...
0
votes
1answer
51 views

What does r10k provide since Puppet natively supports directory environments?

I'm just starting to read about r10k because I love the fact that it can create dynamic environments based on Git branches. Now, I just read that Puppet can do this without r10k. What does r10k ...
-2
votes
0answers
15 views

puppetlab 'file_line' type not working in one puppet apply run

When i run puppet apply policy1.pp , it does not apply all the file_line resource type written in policy1.pp. So when i run again puppet apply policy1.pp it will apply remaining file_line resource ...
0
votes
1answer
65 views

foreman assign mutiple hosts to a config group

On foreman 1.6.0 is it possible to easily assign multiple hosts to a config group (Under the Configure->Puppet->Config Groups menu)? I've had a pretty good look around the web interface and hammer ...
1
vote
2answers
20 views

How can we ensure that a user who is not realized does not exist in that puppet node?

We declare all our users as virtual resources. E.g.: @user { 'belmin': uid => 2001 comment => 'Belmin Fernandez', groups => ['sysadmins'], } Sometimes we temporarily realize a ...
4
votes
2answers
85 views

Puppet 2.7.x - Global variable - Append

Without getting to far into the weeds, Nginx is forcing my hand in order to accomplish some magic with vhosts and the map directive. Is there an elegant (relative) solution to sharing a variable ...
1
vote
2answers
51 views

Managing ~/.ssh/config for users using puppet?

How do I adjust the "User" line in a ~/.ssh/config file using ERB template files in Puppet so that it contains the correct username that matches the account name? class accounts_global::tharold { ...
0
votes
1answer
64 views

Why can't puppetmaster be installed on windows?

I thought that Puppet was written in Ruby, so I'm not sure why the puppetmaster service can't run under Windows. Does anyone have an idea why? Note that I'm trying to figure out if there is a ...