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 ...
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
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
1answer
30 views

creating development environment with a button click

We create development and testing environments manually and its taking lot of manual effort and time now. We want to completely automate that like "click a button to create a development/testing ...
1
vote
1answer
70 views

Problems with Exec in Puppet

i want to to run the following command with puppet: sb2-init rasp /home/ubuntu/raspberry_pi_development/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc In ...
4
votes
1answer
84 views

Print hiera config to multiple lines in config file managed by puppet

In my yaml file I have multiple values that need to be printed out into an ini file managed by another php module. I can grab the values through heira and output them to the ini file but it's in the ...
0
votes
1answer
81 views

Recreating CentOS environment with Vagrant

I have a Vagrant and CentOS related question. I'm trying to replicate a CentOS server which uses WHM/cPanel for hosting. Each site on the server is hosted in /home/$user/. This means with Vagrant I ...
0
votes
1answer
34 views

puppet gitlab postgresql conflict

I#m trying to setup a VM with postgresql and gitlab. I'm using the following packages: gitlab & postgresql This is my init.pp class { 'postgresql::server': ip_mask_deny_postgres_user => ...
4
votes
1answer
72 views

Why would Puppet exclude a file resource without error?

The oddest thing is happening during this Puppet run (using Puppet Apply) and it has me perplexed. I've tried my usual channels to find solutions but I cannot find anything on the topic. I apologize ...
0
votes
0answers
27 views

Create puppet manifests file with mariaDb

I want to customize vagrant with puppet and install there php5, apache and mariaDb. I try to use this site to generate suitable manifests file but there absent mariaDb. Can someone suggest where I can ...
2
votes
1answer
114 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 ...
2
votes
1answer
259 views

Vagrant-aws not provisioning

I'm trying to spin up and provision an EC2 instance with Vagrant, it successfully creates the instance up and I can then use vagrant ssh to SSH into the it but Puppet doesn't seem to carry out any ...
-1
votes
2answers
358 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
397 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
0answers
229 views

Puppet Operation not permitted on owner/group change

I'm running Ubuntu 12.04 with vboxheadless 4.2.10 and vagrant 1.2.7 to provision instances on a server. When I run vagrant up I get the following errors: err: ...
0
votes
1answer
336 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: ...
2
votes
1answer
95 views

Running puppet on a single machine using a vagrant produced cluster

I am building a four cluster machine with Vagrant and provisioning those machines using puppet. I want to find a way to get my puppet scripts to only run on an individual machine. As it stands right ...
1
vote
1answer
242 views

Vagrant: I need a provisioning system with no dependecies

Getting off the ground with a vagrant config. Host is Windows. I have a really simple config, so I wanted to use Ansible, but got this: [default] Running provisioner: ansible... The executable ...
3
votes
1answer
558 views

Installing package from PPA using Puppet

I'm trying to automatically provision VMs with docker pre-installed. My default init.pp looks like: class { 'apt': always_apt_update => true, } package { [ #'build-essential', ...
3
votes
2answers
541 views

How do you automatically install puppet modules on `puppet apply`

Is it possible to automatically install or include puppet modules in your puppet config? I'm having to manually run puppet module install before running puppet apply.
0
votes
0answers
81 views

Using Hiera in Puppet, doesn't include Classes

My current folder structure looks like this: - manifests --hiera.yaml --site.pp --hieradata ---*.json --classes ---*.pp -modules --* Currently, hiera finds the configuration backends but doesn't ...
0
votes
1answer
323 views

problems specifying user password with puppet (+vagrant) on precise32 virtualbox

I'm using vagrant+puppet to provision a precise32 VirtualBox server to add users programatically. I've got everything working but I can't seem to set the password automatically by puppet. Here's my ...
0
votes
1answer
222 views

Puppet agent not starting?

I've attached the full output with debug to see if anyone can make sense of what is going wrong. I've tried removing /etc/puppet/ssl/ and the two nodes (agent and master) are able to ping each other ...
3
votes
1answer
285 views

Good way to import Puppet pre-generated SSL key pair in Vagrant VM?

I'd like to setup Vagrant to use my current Puppet master as a provisioner. But I don't like the idea of embedding the SSL key pair in the .box file. What I am currently doing is distributing the ...
0
votes
1answer
98 views

Puppet-Labs Apache Module Set Operating System type

I'm new to Puppet and having some trouble with the Puppet-Labs Apache Module http://forge.puppetlabs.com/puppetlabs/apache. I'm using it in conjunction with Vagrant as a serverless setup (if that ...
0
votes
2answers
130 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 ...
0
votes
1answer
68 views

Is there a way to specify versions for programs using Vagrant and Hosted Chef?

I am trying to improve my development workflow but am running into some major roadblocks. Currently, we develop on local Windows machines running XAMPP then after tested on an individual machine, push ...
0
votes
1answer
2k views

Configuring a static IP, gateway etc with vagrant and puppet

I'm using http://forge.puppetlabs.com/razorsedge/network but I can't configure it properly. this is my puppetfile.pp class network { static { "eth1": ipaddress => "1.2.3.248", ...
4
votes
2answers
1k views

Vagrant OS X host nfs share permissions error - Failed to set owner to '1000'

I am a Vagrant and Puppet newbie, I have created a Base Box with Debian Squeeze plus standalone Puppet, using the instructions here to install Puppet with the Puppetlabs packages. The box itself ...
0
votes
1answer
145 views

Puppet require function not doing what I want in node definition

I'm using Puppet (version 2.7.19) with Vagrant to setup a dev box for a project. I have the Puppet classes for all the dependencies I need, however for my Vagrant box I need to run an apt-get update ...
3
votes
1answer
510 views

vagrant and puppet security for ssl certificates

I'm pretty new to vagrant, would someone who knows more about it (and puppet) be able to explain how vagrant deals with the ssl certs needed when making vagrant testing machines that are processing ...
4
votes
1answer
1k 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?
1
vote
2answers
319 views

Minimizing Disk Space for CentOS & Vagrant VM Install

I'm working on building a Base VM for use with a Vagrant, and/or Puppet. I've done the minimal CentOS 6.3 install 32 bit. It's still a size of approx 800 mb. From what I've found out there people ...
4
votes
1answer
1k views

Veewee, Vagrant, Puppet, Erlang and RabbitMQ

I am kinda stuck with a problem I am trying to wrap my head around for days now. Here is what I am doing: By using Veewee, I am creating a VirtualBox image and then I create a Vagrant box from it. ...
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 ...
1
vote
3answers
1k views

Using a proxy with Vagrant & Puppet

I'm trying to run a puppet manifest which depends on the target machine having proxy settings to access the Internet. I haven't been able to pass http_proxy_host as Puppet suggests (I believe its a ...
1
vote
1answer
378 views

Why does my defined resource refuse to copy source files listed in an array?

I am attempting to populate some configuration files from modules/apt_config/files using a defined resource and an array of files to install. define aptfile($file) { file { $file: source => ...
0
votes
1answer
77 views

Is it possible to run PHP files that are outside of Virtualbox instance?

I use Vagrant and Puppet to recreate my live VPS and I'd like to test my PHP files locally against that. I have osx so during development I use the apache server there, but I'd like to use the same ...
4
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: ...
3
votes
3answers
528 views

Vagrant / puppet workflow

I'm new to puppet and vagrant, but I'm developing my own Puppet manifests intended to set up a vagrant box. That is, the puppet manifest is in my Vagrant directory on the host machine, and vagrant is ...