Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to patch management and compliance.

learn more… | top users | synonyms

0
votes
1answer
17 views

Can I use puphpet files to deploy a vps server without vagrant

I'm using puphpet/vagrant in local to work with symfony but I wanted to know if I can use puphpet's scripts/files to deploy it on my vps server if Im using the same OS.
0
votes
3answers
28 views

Error: Unknown Puppet subcommand 'module'

It seems there is a problem with puppet on Ubuntu 12.04 LTS as it's missing the module subcommand as follow: Installed puppet in version 2.7.11 $ puppet module install rafaelfc-pear Installing ...
7
votes
2answers
1k views

How do you uninstall Puppet from Mac OS X ?

I installed puppet 3.x on Mac OS 10.8.4 a few weeks back, and now want to remove it. The installer.dmg does not come with an uninstaller, and there is no .app package to remove. How do you ...
0
votes
3answers
1k views

puppetd --test err: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled

I m new to puppet and i m trying to have connection to my puppet server, when i ping to my puppetmaster it runs well but when i run puppetd --test t shows me following error. puppetd --test info: ...
1
vote
0answers
211 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
0
votes
1answer
40 views

Puppet - removing user who is logged in?

I've just started learning puppet and have came across a problem I was wondering if anyone knew how to fix.I m trying to remove a user I get an error message stating that they are logged in so can't ...
1
vote
1answer
81 views

How to reject certificate request on Puppet Master?

I have some requests from agents that had bad hostnames. I've corrected this, but still have the outstanding requests with the bad hostnames. I tried: $puppet cert list "wrong.host.name" (SHA256) ...
0
votes
1answer
36 views

Add network account to local group with Puppet?

On a client Mac joined to an OS X Server Open Directory, is it possible to use Puppet to add a directory account to a local group on the client?
0
votes
1answer
312 views

What are pro and cons in using puppet master vs. distribute puppet manifests with git?

I've started reading about puppet and see that there are two main ways in how you distribute you puppet manifest; one is to use the puppet master and the second one is to use git to distribute them. ...
0
votes
2answers
397 views

puppet file_line: remove line with unknown number of whitespaces

I'd like to remove a line from the sudoers. All works fine as long as I give the exact line. But there might be differences in white space on some machines. Couldn't find a workaround even with ...
0
votes
1answer
110 views

Version Control Foreman / Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
0
votes
0answers
64 views

Specific command not recognized in only one shell

I'm running Windows7 as OS as my development machine. It has various Shells: cmd Powershell Mysysgit GNU Bash <-- this is the one not working PuppetLabs Shell Nodejs Shell PHPStorm built in ...
0
votes
1answer
34 views

How do you handle patch versions with puppet?

We use vagrant with puppet. Now there is a question about setting the version of different applications. How specific do you ensure versions with puppet? For example mysql: Do you ensure to have ...
2
votes
2answers
1k views

Is there any reason to use Puppet alongside with Docker?

I have tried Ops part of DevOps some time ago and it was quite fun, but I haven't time and reason to try it in any project. But last week I started new job, where boss asked me if I can configure ...
0
votes
0answers
57 views

Learning Puppet VM: Is it possible to mount a drive to install “Guest Additions” ISO on Virtualbox?

I need Guest Additions installed on VirtualBox. When I go to "options" and "insert guest additions cd" it complains that the machine cd/dvd drives. It doesn't seem possible to add cd/dvd drives in the ...
0
votes
1answer
125 views

How to ensure version 5.5.* for mysql with puppet?

How can i ensure that the latest patch version of 5.5 will be installed by the yum installer under CentOS? class { '::mysql::server': package_ensure => '5.5.*' }
1
vote
2answers
1k views

Puppet enterprise versus free version, what's the diff?

What are the differences between the free puppet version and the enterprise version?
1
vote
2answers
2k views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
1
vote
3answers
369 views

facter: setting up module-specific custom facts?

I am customizing an existing puppet installation (with facter) and I think I ran into an issue understanding the scope of custom facts. I have several modules that are mapped exclusively to different ...
0
votes
1answer
940 views

Getting node.js and grunt to run on Vagrant box (ubuntu-precise12042-x64-vbox43)

I am having trouble understanding how I would get node.js, Grunt and NPM to run on my Vagrant box. I am using the ubuntu-precise12042-x64-vbox43 and provisioning it through puppet. I am just getting ...
0
votes
1answer
70 views

Trouble running `emacs --eval` from Puppet

I want to automate installing Emacs packages with Cask, Puppet, and Vagrant. Source https://github.com/mcandre/mcandre-ubuntu Steps to reproduce I can do this manually in Emacs on my Mac: $ emacs ...
0
votes
0answers
24 views

Trouble installing rspec gem

My Vagrant project requires both the rspec and cucumber gems. Strangely, first time setup with vagrant up installs cucumber, but not rspec. Manually reprovisioning with vagrant provision temporarily ...
1
vote
1answer
3k views

Run script on host machine during vagrant up

I'd like to run a bash script on the host machine when before vagrant provisions the server. I can't quite figure out the best method of doing this. What would be the best method of achieving this?
0
votes
1answer
85 views

Package installed, but with error

CentOS 6.5, Puppet Enterprise 3.1.1. Given this declaration: package { vim: ensure => present } The following error is displayed: Error: Could not find package vim Error: ...
0
votes
1answer
29 views

where do chef and puppet source in house applications from?

We're looking at replacing an in-house solution with chef or puppet to deploy software onto machines. one thing that's not obvious to me in the reading I've done to date is, specifically for in ...
0
votes
0answers
20 views

Puppet - Packagemanagement

I'm managing hundreds of packages with Puppet. The problem is, that puppet always checks all packages every time the puppet-agent runs. If one check needs 2 seconds, the complete check takes about 400 ...
0
votes
0answers
187 views

Allow allow override (rewrite) on Example42 Apache Puppet module

So this question has been answered here: http://stackoverflow.com/questions/18054423/configuring-apache-with-puppet-and-vagrant The reason I ask it again, is that I think it is quite vague and I ...
0
votes
0answers
103 views

Allowing Puppet to control the current user in Windows 7

I have Windows 7 x64 machines that are running public facing applications under a limited user account. I would like to configure these machines using puppet but I have run into an issue. I need to ...
0
votes
0answers
104 views

Can't find installed module on modulepath

I'm attempting to use the maestrodev/rvm module when provisioning a virtual machine with Vagrant, but am running into a problem when attempting to include rvm. I keep getting Error: Could not find ...
0
votes
0answers
117 views

Fedora Linux 18 - puppet 3.1.1 Certificate issue - unprintable or non-ASCII

I have searched all over the Puppet errata documentation and I've tried regenerating the certs, reinstalling, deleting and regenerating the certificates. When I try to connect to the Puppet ...
0
votes
1answer
98 views

Make sure a service is running with specific arguments using puppet

I have an application that I'm installing to all my VMs, it requires a specific arguments passing to it when it gets run and it should always be running. I want to ensure that mailcatcher is running ...
4
votes
2answers
4k views

Why does Puppet keep installing a package even if it is already installed?

I use the package install attribute to ensure that given package X is installed. However, even though the package is installed, puppet tries to install it over again and of course exits with an ...
0
votes
2answers
75 views

Regenerate linux host fingerprint

Is it possible to change a hosts ssh fingerprint? An example of needing to do this would be a virtual machine clone having the same fingerprint as the source of the clone; which causes problems for ...
0
votes
1answer
1k views

puppet “Connection refused”

My puppet agent is getting Connection refused when it tries to connect to the master. However, other interactions work, and the first page of Google hits aren't helping. What am I missing? I can ...
1
vote
2answers
96 views

Use sudo inconjunction with regular user's ssh key

I want to execute a command which requires root privileges so I use sudo. sudo puppet apply /etc/puppet/manifests/site.pp This command involves cloning a private github repo with ssh. The only way ...
1
vote
1answer
140 views

Is it safe to delete puppet user after uninstalling puppet and puppet-common?

In Debian I installed puppet with apt-get install puppet. Later I decided to uninstall it with apt-get purge puppet puppet-common. However I just noticed my /etc/passwd file still contains the line ...
0
votes
1answer
67 views

facter does not show some information

I'm using facter to get some information for some bash scripts. When I run facter by itself, it shows me items such as serialnumber and productname. But when I run facter serialnumber or facter ...
6
votes
2answers
3k views

Install a source package with puppet

For my server installation i need to wget and compile a source package (geos, GeoIP and py binding). Is there a predefined puppet class to get package sources and compile them?
2
votes
1answer
998 views

Puppet stdlib module file_line doesn't have an effect

I have the following module: include stdlib class pulseaudio-zeroconf { package { "pulseaudio-module-zeroconf": ensure => installed } file_line { ...
0
votes
1answer
1k views

windows batch script get environment variable changes

I have a script that does something like setx %PATH% %PATH%;%ANOTHER_VAR% echo %PATH% When I echo the path, it does not include %ANOTHER_VAR%. is there a way to ensure the new variables are ...