1
vote
1answer
69 views

Nginx unmet dependencies over Vagrant / Puppet

I have no such issue on 64bit Ubuntu Precise, but once I tried to start 32bit machine, it failed on this command: # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ...
0
votes
2answers
89 views

Puppet node does not pull changes from master

I have followed the following three How-To's http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04 https://help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation ...
0
votes
2answers
510 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 ...
0
votes
2answers
238 views

How to fix php5-mcrypt on Ubuntu 13.10 install via puppet?

I'm pretty new to Puppet. So, I'm here asking for help on how the best way to fix my problem. I'm using this puppet module to provision PHP into my Ubuntu 13.10 box. But, it seems that package ...
3
votes
2answers
362 views

Trying to install RabbitMQ with Puppet

Here is error I am getting: ubuntu@sync1:/etc/puppet$ sudo /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server Reading package lists... Building dependency tree... ...
-2
votes
1answer
48 views

Thoughts about a simple way to check remote updates lists and updating remote servers

I have been building my own Control Panel (mostly hobby) where I control hosting packages on my webservers, mailaccounts on my mailservers, DNS records etc. I also use this to monitor my servers. I ...
-1
votes
2answers
690 views

Issue with changing permission and owner recursively on files with puppet and vagrant

I am trying to install tomcat on a virtual box guest machine using puppet and vagrant. For tomcat to run, I need to change permission of the /bin/*.sh files. Here is the relevant section of my puppet ...
0
votes
1answer
841 views

Provisioning Oracle's JDK into VirtualBox using Puppet and Vagrant

I am trying to install Oracle's jdk with Vagrant/Puppet. Here is the relevant portion of my Vagrant file: config.vm.provision :puppet, :module_path => "puppet/modules" do |puppet| ...
0
votes
1answer
1k views

nginx on Ubuntu: Permission denied

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: ...
0
votes
4answers
136 views

Back up compiled version of Apache2 for quick restore

I use Puppet to automate setting up servers for work. The only problem with this is that installing the specific version of the software in my stack is a bit tricky as dependencies are sometimes not ...
12
votes
5answers
2k views

Fixing services that have been disabled in /etc/default/ with puppet?

I'm using puppet to (theoretically) get npcd to start upon installation, however on Ubuntu, that service comes installed with the default setting in /etc/default/npcd of RUN="no": $ cat ...
3
votes
1answer
73 views

Managing (and pinning) package versions with puppet

I have an installation that I'm trying to manage with puppet. For some of the packages we want to have very tight control over the versions. Since they are critical to our application, we only ...
0
votes
4answers
532 views

Puppet not applying config but returns without error

Using Puppet 3.2.1 attempting server / client setup, running both on same host. I'm also using puppet-dashboard and puppetdb. My manifest/init.pp: node 'my.fqdn' { file { '/tmp/test': ensure ...
0
votes
2answers
182 views

Using Puppet to manage shell commands

For example lets attempt to let Puppet install the opengeo-suite. To do something like wget -qO- http://apt.opengeo.org/gpg.key | apt-key add - echo "deb http://apt.opengeo.org/suite/v3/ubuntu lucid ...
3
votes
1answer
192 views

What to do when local usernames conflict with network usernames

We use Puppet to manage our Linux desktop machines and SSSD to authenticate our users against a central authentication system. Recently when setting up a few new machines we found that puppet was ...
0
votes
2answers
224 views

shipping default xorg.conf file in ubuntu 12.04

With recent versions of Ubuntu, there's no /etc/X11/xorg.conf file being shipped anymore. That's good as long as you don't have a Nvidia graphics cards and you want to use multiple screens, in which ...
5
votes
2answers
205 views

Is it unwise to publish my server configuration?

I have got a small VPS running Ubuntu which (for the foreseeable future) will only host my own, static, website. The only services accessible from the outside will be SSH (only public key ...
1
vote
1answer
61 views

change parameters value of a puppet module in a inherited node

I wrote a module which sets the mail of root in /etc/alias using the command "alias" I have a master node where I set this email like node master { class{"rootmail": mail_dst => ...
0
votes
1answer
85 views

Mcollective responds to ping but not puppetd

I'm working with a colleagues setup, so I'm hoping things were setup correctly; however I'm having some issues. When on the Puppet Master, if I run mco ping then I get a list of agents; however if I ...
1
vote
1answer
830 views

Setup puppetlabs-firewall module

Does anyone have experience setting up puppetlabs-firewall module on ubuntu 12.04? The documentation on https://github.com/puppetlabs/puppetlabs-firewall states: At the moment you need to provide ...
6
votes
1answer
2k views

Puppet error: returned 1 instead of one of [0]

When using Puppet, I get error messages like returned 1 instead of one of [0] Is there a way to output/get the actual error message?
2
votes
1answer
207 views

Puppet agent freeze on Ubuntu

I have 40 Ubuntu 12.04 servers. These servers are managed with puppet. Sometimes I have problem with puppet agent. puppet agent spawn child process (sh) and this process fails. Sh is zombie process. ...
3
votes
1answer
355 views

incorrect time zone set in Ubuntu 12.04 through puppet

I am using Ubuntu 10.04 and use puppet to change the timezone from UTC to PST when the server comes up. Puppet's timezone recipe which I am using is this: Puppet Time Recipe Things were working fine ...
2
votes
1answer
929 views

Why does my namespace and class name conflict?

I have a puppet module installed that is called ntp. A node do I define by node testip { include myconfig::ntpp } and in /etc/puppet/modules/myconfig/manifests/init.pp have I class myconfig::ntpp ...
2
votes
1answer
428 views

Why isn't the variable available?

Background I would like to apply this idea of having a common class that includes all the specific info about my setup. So I have created /etc/puppet/modules/common/manifests/init.pp with class ...
1
vote
1answer
407 views

How to install puppet devel from apt.puppetlabs.com?

According to the README at apt.puppetlabs.com the repo is added by wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb dpkg -i puppetlabs-release-precise.deb but I only see the stable 2.7 ...
5
votes
4answers
2k views

How to “yum update” / “aptitude safe-upgrade” many hosts?

I have two books about Puppet and none of them mentions how to push yum update or aptitude safe-upgrade. So I am getting the impression that Puppet can't, which I find hard to believe. Question How ...
7
votes
3answers
2k views

NFS with encrypted ubuntu home directory

I am having trouble getting NFS setup on with vagrant: On my local machine I have installed NFS: apt-get install nfs-common nfs-kernel-server And in my Vagrantfile set it to be used: ...
1
vote
1answer
311 views

How to change single variable in Puppet between environments

Specifically, if I'm in staging, I want directory A, and in QA, directory B: file{'/etc/appenv': ensure => file, owner => 'root', group => 'root', mode => 0644, source => ...
6
votes
1answer
3k views

Add server to known_hosts

I would like to add github.com to the known_hosts file from the command line as I am creating a puppet manifest to provision a remote server. I have tried: "ssh-keyscan -H github.com > ...
8
votes
1answer
1k views

What directory and file structure to use for Puppet?

The Puppet tutorials I have read so far haven't mentioned how to structure the puppet .pp. Can anyone share some experiences of what works and scales well?
5
votes
3answers
2k views

Problems installing puppet-dashboard

I'm using Ubuntu 12.04 LTS (32bit, Server), puppet 2.7.17, ruby 1.8.7.352 rubygems 1.8.15. and Apache 2.2.22. When I try to run the command to migrate the DB, ...
2
votes
2answers
2k views

Puppet: SSL certificate Error

I did this sudo puppet agent --test err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed warning: Not ...
0
votes
1answer
266 views

fail to install jenkins with puppet

i'm on a ubuntu machine when i fail to install jenkins with puppet with the following error: /etc/puppet/modules/jenkins/manifests# puppet agent --no-daemonize --verbose notice: Starting Puppet ...
2
votes
2answers
949 views

Can't access node from puppet dashboard

I am trying to setup puppet's dashboard to be monitor the status of my servers. With the below shown configurations, my clients (or nodes) only show up as Unreported and says Has not reported in "Last ...
-3
votes
1answer
413 views

Puppet requires sudo permissions?

What on earth is going on with puppet on my Ubuntu node? It appears to be asking for su permissions to install stuff and I have no idea why it's doing this. What can I do to make it work? ...
5
votes
1answer
452 views

Automatic management of SSL certificate on multiple servers…good or bad

We're using puppet to manage a group of Ubuntu boxes and will shortly require each of these servers to share a common SSL certificate, in order to serve a site over HTTPS. Naturally, we'd like to use ...
4
votes
2answers
1k views

Puppet Ubuntu remove packages no longer required

teaching myself puppet. Using Ubuntu 11.10 Puppet 2.7.1 (straight from apt) Running some test scripts on a single node (following http://docs.puppetlabs.com/learning/manifests.html). I made a ...
6
votes
1answer
1k views

Puppet: Package removal and ensure stopped

I'm pretty new to Puppet, but I really like it thus far. Right now I'm currently setting it up to automate a small architecture. I have one problem though -- I want to remove a package, and ensure ...
0
votes
2answers
1k views

MCollective daemon not binding a network socket

I’ve just installed PE using on Ubuntu 10.04 LTS using puppet-enterprise-2.0-ubuntu-10.04-amd64.tar.gz (downloaded from http://puppetlabs.com/misc/pe-files/) and right now the same machine is running ...
1
vote
2answers
582 views

Upgrade the Ubuntu puppet package within kickstart process

My Ubuntu based kickstart-host is almost working like it should, serving Ubuntu 10.04 (both i386 & amd64) and CentOS 5.6 to new (VMware-)hosts. One of the things that bothers me is that Ubuntu ...
2
votes
1answer
772 views

How do I install puppet automatically on image startup?

I'm working on setting up a new Ubuntu 10.04 (lucid) cluster in the Rackspace cloud environment. I'm using Puppet for the first time to automate as much as I can. I've setup a puppet master and I'm ...
9
votes
2answers
1k views

Installing open-vm-tools in Ubuntu via Puppet; what's the lesser evil?

In an ideal world, configuring puppet to install the open-vm-tools should be as simple as this: class vm-tools { package { 'open-vm-tools': ensure => installed } package { ...
1
vote
2answers
373 views

Puppet nodes cant' find master, ec2 public versus internal ip addresses and hosts files

If I setup my hosts files such that they reference all other ec2 nodes using the internal ip addresses, will this work or do I have to use the external ip addresses? Do I need to specify anything in ...
2
votes
3answers
315 views

Installing puppet from source b/c Ubuntu versions via apt are old

Is my only option to get version 2.6.8 via downloading from source? My ubuntu version that was installed was 2.6.1 via apt-get. If I download it by source, then I have to write the ...
2
votes
4answers
4k views

How to set puppet on the agent to start on reboots?

I'm on ubuntu, is this the correct way to get puppet to start on reboots? update-rc.d puppet default If yes, where can I see the result of that command? Does it update a file that gets called on ...
0
votes
2answers
170 views

Puppet and modules, doesn't it get to be a lot?

I'm reading the latest puppet book, and it breaks things down into modules which is nice. In one example, they created a module for SSH, so: /modules/ssh/{files, manifests, ...} Then you can ...
4
votes
3answers
1k views

Puppet is used for configuration management, what about software updates etc?

I understand how puppet helps setup servers etc., but would you use puppet for something like: apt-get update && apt-get upgrade I get the feeling the answer is no, if that is the case, ...
3
votes
5answers
782 views

Ubuntu Deployment Toolkit

We have been successfully and happily using Microsoft Deployment Toolkit to perform our Windows desktop installations. We also have an every-growing set of Ubuntu desktops that we would like to ...
3
votes
3answers
7k views

Sample puppet manifests for setting up a web server

Just getting my feet wet with puppet (just reading so far), and was hoping there were some sample (real life) manifests/recipes that setup a typical web server with things like apache/mysql/php etc. ...