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
8 views

ConnectionError: [Errno 111] Connection refused (Openstack installation through Puppet)

I have just completed an installation of Openstack through puppet, and after jumping through a few hoops have gotten to a point where I can attempt to log into the dashboard. When I do this I'm ...
4
votes
1answer
640 views

Amazon AWS EC2 + Puppet, get Puppet to know AWS instance tags

I am having a problem with my AWS deployment, fairly new to AWS and Puppet. So coming to my question - can you distinguish puppet nodes with AWS machine tags or CNAME domains? A little background ...
6
votes
4answers
1k views

Can any puppet agent get any puppet file from the master?

My Puppet master contains some sensitive files. I want each puppet agent to be able to access only those files that are of interest to that specific agent. In other words: Does the puppet agent run ...
2
votes
2answers
65 views

Using puppet and ensure latest for RPM package management

Using ensure => latest, I have systems which do not need all of the same packages. Will ensure => latest install the packages or only update if they already are present? If they are not ...
1
vote
1answer
35 views

puppet: how to submit command “yum update” to all agents?

I'm new to puppet and trying to create manifest which will request all agents to update all currently installed yum packages. What should be the best way to describe this in manifest?
0
votes
3answers
333 views

Figuring out correct Apache module names for a2enmod

I have an existing httpd.conf file which I am supposed to get to work on a Vagrant instance running Ubuntu, which I am using Puppet to provision. The problem I am running up against is with module ...
0
votes
3answers
87 views

standart packages list

I am learning the puppet system and now need to do the next task. We have a few servers with same OS (Altlinux p6,t6) - puppet-agents and have a puppet-master. On agents there are some packages ...
1
vote
1answer
30 views

Puppet 3.3.1 Certificate verify failed

I`ve trouble to setup a master/node scenario with puppet 3.3.1 (puppet opensource) on both master and slaves. The slaves are on a windows and SLES machine. The Master is also on a SLES machine. The ...
1
vote
1answer
20 views

Invalid parameter config_hash: Attempting to install mysql (and Openstack) via Puppet

I've searched around for hints on how to solve this but I haven't been able to find anything concrete. I've seen Puppet apache module causing 'Error 400 on SERVER: Invalid parameter ...
1
vote
1answer
106 views

How to grant in Puppet a global permissions to PostgreSQL?

Official postgresql module from puppetlabs allow granting privileges on specific database. postgresql::database_grant{'grant to myuser': privilege => 'CREATE', db => ...
2
votes
1answer
45 views

How to disable user's password via puppet securely?

I have my SSH servers setup to use only Public Key authentication with password authentication disabled. When adding users through puppet I would like to disable user passwords. So far I have came ...
3
votes
1answer
28 views

Puppet default node definition

I have some confusion about the default node. Will the classes defined in the default node only be applied if there is not other node definition, or do they get default and any other matching node ...
-1
votes
3answers
79 views

Can I administer Amazon RDS instances with, Chef? Salt? Puppet? Ansible?

On the face of it, it looks like I need to be able to install some software daemons on the target nodes for these things to work. If I can't do that (e.g. an Amazon RDS instance), what are my options? ...
-2
votes
0answers
34 views

Are there any CM tools for managing a cloud cluster composed diverse resources accessible by diverse interfaces? [closed]

Mostly I'm looking for a practical solution to configure and manage clusters of resources in the cloud. Typically the necessary resources to be configured and managed are composed of: load balancers ...
1
vote
1answer
24 views

Puppet 2.7 Ensure file on client updates when puppet:///file is updated on Master

I have a Perl script that I pushed out to all my Puppet Linux clients. I have since edited my script, module/modulename/files/scripts/a_script script on the Puppet master, but the clients don't get ...
3
votes
1answer
48 views

Correct way to add commands to to rc.local above “exit 0” with puppet?

A puppet novice, I'm currently working on a deployment script that will start a couple of foreverjs services from rc.local at boot time. My concern is that, in Ubuntu, rc.local comes with an exit 0 ...
3
votes
5answers
1k views

What is the quickest way to get a new Rackspace server instance connected to a puppet master?

Right now I log into the new server put the puppet master in /etc/hosts install puppet change "START" to "yes" in /etc/default/puppet change "server" to puppet master name under [main] run agent ...
3
votes
2answers
1k views

Puppet permissions issue reported on client

err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/plugins with {:ignore=>[".svn", ...
1
vote
1answer
31 views

npm install not running properly over puppet

I'm having a problem running npm install when using Puppet to set up my application. I'm using Puppet to set up a node.js application that we will be using live in a few weeks. This application has ...
19
votes
4answers
11k views

automate dpkg-reconfigure tzdata

I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata .. but I can ...
1
vote
1answer
19 views

puppet apply and extlookup

I still use extlookup (Yes, I know that it's deprecated :-( But I can't find time to move to hiera). My problem - I need to move from puppet master/puppet agent setup, to puppet apply that is run ...
4
votes
2answers
47 views

Puppet: create service before file but notify service if file changes

I want file "run" to be created AFTER Service nginx, but also i want to notify Service nginx if file run changes. Notify implies that it is run BEFORE nginx. The use case is the following. We use dj ...
3
votes
3answers
842 views

Amazon EC2 EBS volume scheduled backup/snapshots using puppet / similar tools

I am not a Linux admin, although I wish I was, and I have seen these questions Amazon EC2 Backup Strategy Amazon EC2 + EBS:: Regular backup plan? Simple Backup Strategy for Amazon EC2 instances / ...
0
votes
1answer
639 views

using puppet dashboard as an enc

0 down vote favorite I am using a multiple puppet master setup with puppet dashboard running on a separate server. I have also configured dashboard to use https running with passenger. I would like ...
1
vote
1answer
16 views

Puppet: substitute parameter in fact name

Here is custom fact: require 'etc' Etc.passwd do |user| Facter.add("homedir_#{user.name}".intern) do setcode { user.dir } end end It determine users home dir locations. Here is ...
0
votes
1answer
38 views

Finding a user's home from bash

I'm trying to get the value of a user's home from a puppet script. This particular user is a Samba user, not a local one, with the username of the form DOMAIN\user. I've tried the following, with no ...
0
votes
2answers
27 views

What is the best practice to set a global variable in puppet?

I have several modules which uses the same admin mail, right now it's hardcoded all over the place, is it correct to setup a global variable, I mean, with global scope or is there something else I can ...
0
votes
1answer
21 views

Command not found in if-else statement

I have some function, that do chroot into some directory. I execute this command twice with exec type if if-else statement. First time I execute command in then section, and second time — in else with ...
1
vote
2answers
696 views

puppet hanging or long time on rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

In our setup, we manage our servers using puppet. Since a few days I saw the puppet client running very slow. When stracing the puppet process I get loads of rt_sigprocmask(SIG_BLOCK, NULL, [], 8) ...
0
votes
0answers
25 views

Puppet MongoDb enabling authentication and defining password

I'm working on enabling authentication using the puppetlabs mongodb module. As the docs say, to enable authentication, I should add auth => true. But in order for authentication to work, I have to ...
0
votes
2answers
58 views

“/usr/bin/env: bash: No such file or directory” during puppet exec command

I am setting my first steps into puppet. I am trying to setup ambari. This is my puppet config: exec { "ambari-repo": command => "curl ...
1
vote
0answers
35 views

Need a PHP version manager to deploy multiple versions of PHP on production servers

I'm currently running a few LAMP stacks, where I've setup PHP 5.2, 5.3 and 5.4 by hand. All servers are running Ubuntu 12.04 LTS. 5.3 is currently installed via apt-get but all other PHP versions are ...
0
votes
2answers
576 views

Cannot connect to xdebug over virtual network - Vagrant Virtualbox

I'm trying to set up a development box using Virtualbox / Vagrant / Puppet with the intention of eventually provisioning all my machines up to production. However this is stopping me going forward at ...
3
votes
1answer
46 views

puppet doesn't remove old mount entry in /etc/fstab

I defined a simple class for mount a nfs share on host as follow(current) class mounts { file { [ "/mnt/share", "/mnt/share/share1" ]: ensure => 'directory', } mount { ...
0
votes
0answers
31 views

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django ...
-1
votes
0answers
10 views

How to add a path to $PATH of a VM with puppet provisioning?

I want to add binaries from a synchronized folder to my VM, which is running Vagrant and being provisioned with puppet. How can I do that? Example: $ echo $PATH /foo/bar I want to add /vagrant: ...
3
votes
4answers
1k views

How to revert a configuration with puppet

I wrote a module which writes a configuration for rsyslog in /etc/rsyslog.d/60-custconfig.conf using puppet. When I add the module to the node, it works, but if I delete comment or delete the module ...
0
votes
1answer
29 views

Puppet file link doesn't create target under Windows

file {'VaultUsersLink': path => "C:/VaultWorkspace/VaultUsers.lnk", require => File['VaultWorkspace'], ensure => link, target => ...
1
vote
1answer
30 views

Use puppet to manage a set of files under different subdirectories

So I have a need to generate a file tree for certain users on Windows. I need to provide a list of users, preferably from an external fact, and have puppet make sure a set of files is in a directory ...
0
votes
0answers
21 views

Overriding types in Puppet

Is there a possibility to override standard types such as file or service in Puppet? I have to use my own class and functions to manage file system in containers on puppet agents, but I haven't ...
0
votes
1answer
17 views

Puppet recurse attribute for file resource when creating non-directory/normal files

If I want: file { '/var/shennanigans/happy-hour.drunk': ensure => present, mode => 700, owner => shamus } Can I use recurse => true to ensure the shennanigans directory exists ...
3
votes
1answer
47 views

Puppet: ensure user is in wheel group on all nodes without affecting other group membership

I want to make sure user bob is in wheel group on every server managed by puppet, but I do not want to change any other group membership for that user if on one node bob belongs to the apache group, ...
4
votes
2answers
29 views

Puppet: Run Augeas only when a specific package exists

I want to use Augeas to modify "/etc/inittab", but this should only happen when the package "sysvinit" is installed. That package is not under Puppet control (and shall not be). The "onlyif" from ...
-3
votes
1answer
154 views

Why chef, puppet, ansible, salt, etc.? [duplicate]

The devops tools ecosystem is puzzling to me. Instead of shell scripts that work everywhere everyone in the server orchestration/management space is bolting on their own proprietary formats. Ansible ...
1
vote
1answer
40 views

Puppet not passing exe switches on windows

I am trying to install vlc to my lab of 150 window computers using puppet. I am following this guide and have set up my manifest as: node 'node.domain.tld' { package { "VLC media player 2.1.3": ...
0
votes
1answer
35 views

Default path for exec resource with forman and puppet

I'm using Foreman (1.4) and Puppet (3.4.3). I just started using Foreman and Puppet like 4 weeks ago, so I'm new. What I want to do is set a default path for exec resources. According to many howtos ...
0
votes
2answers
45 views

Using puppet to ensure vagrant box is upgraded

I'm using puppet to provision a vagrant box (Ubuntu in this case). After initially starting the vagrant box (vagrant up), running apt-get upgrade will list several updates. I would like to run these ...
1
vote
1answer
111 views

How to set up :datadir: when using Hiera with Puppet and Vagrant

I'd like to know how to set up :datadir: in hiera.yaml for optimal usage with Puppet and Vagrant. Currently I'm using vagrant 1.5.0 with virtualbox 4.2 on Ubuntu 13.10 with an Ubuntu 12.04 guest ...
0
votes
4answers
30 views

Puppet: include other files depending on hostname

I'm trying to get something like this to work in my Puppet manifest: if $hostname == 'host1' || $hostname == 'host2' { # Modified config.txt for portrait mode. file { ...
0
votes
1answer
36 views

How do I configure virtual hosts on instances? [closed]

I've created a host type with puppet classes suitable for a web server and have successfully built a server with this. However, I can't see how to configure a vhost on that server (without actually ...