puphpet

How to configure vagrant to work with node.js

我与影子孤独终老i 提交于 2019-12-11 02:48:39
问题 I have problem with running node.js with vagrant. I have following structure of project: - public - hello.js - vagrant - puphpet - Vagrantfile Here's my puphpet config: --- vagrantfile-local: vm: box: puphpet/debian75-x64 box_url: E:\vagrant boxes\debian-7.5-x86_64-v1.2-virtualbox.box hostname: '' memory: '1024' cpus: '1' chosen_provider: virtualbox network: private_network: 192.168.56.102 forwarded_port: BD200PpFPN2U: host: '3000' guest: '3000' post_up_message: '' provider: virtualbox:

How to config timezone with Vagrant, Puppet and Hiera?

五迷三道 提交于 2019-12-07 16:40:51
问题 I'm using PuPHPet for my testing environments, which is based on Vagrant/Puppet+Hiera. In the config.yml (Hiera config file) I would like to add section for my timezone and with command vagrant provision setup it properly. It's that possible? 回答1: Just add your timezone to whatever key you want in your hiera file, let's call it timezone . The value for which and the puppet code you'd need to set that timezone depends on the system you're firing up, but I'll assume RedHat flavor of unix. I

How to fix Vagrant error: `private_key_path` file must exist:

亡梦爱人 提交于 2019-12-07 01:56:49
问题 I've been using PuPHPet to create virtual development environments. Yesterday I generated a config file for a new box. When I try to spin it up using the vagrant up command, I get the following error message: C:\xx>vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: SSH: * private_key_path file must exist: P://.vagrant.d/insecure_private_key I came across this question and

How to config timezone with Vagrant, Puppet and Hiera?

蓝咒 提交于 2019-12-05 20:52:50
I'm using PuPHPet for my testing environments, which is based on Vagrant/Puppet+Hiera. In the config.yml (Hiera config file) I would like to add section for my timezone and with command vagrant provision setup it properly. It's that possible? Just add your timezone to whatever key you want in your hiera file, let's call it timezone . The value for which and the puppet code you'd need to set that timezone depends on the system you're firing up, but I'll assume RedHat flavor of unix. I recommend setting that to any valid value you'd see under /usr/share/zoneinfo . As an example your key may look

How to fix Vagrant error: `private_key_path` file must exist:

人盡茶涼 提交于 2019-12-05 06:12:32
I've been using PuPHPet to create virtual development environments. Yesterday I generated a config file for a new box. When I try to spin it up using the vagrant up command, I get the following error message: C:\xx>vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: SSH: * private_key_path file must exist: P://.vagrant.d/insecure_private_key I came across this question and moved the insecure_private_key from puphpet\files\dot\ssh to the same directory as where the

Vagrant Share - Accessing Virtual Hosts and accessing those that are not in the default web root

主宰稳场 提交于 2019-12-03 07:02:48
I have Vagrant setup and running CentOS 6.5 x64 and it runs great. No issues running multiple sites within this one VM. All sites are running from the /var/www/public folder with the exception of PhpMyAdmin which runs from /var/www/html . I am trying to use vagrant share to gain access to any of the vhost sites that are running. The problem is that vagrant share is only displaying the contents of the /var/www/html folder. Is there something further that I need to do in order to gain access to my newly created /var/www/public folder? I have tried editing the hosts file, on another machine, to

How to use vagrant on multiple projects

蹲街弑〆低调 提交于 2019-12-02 13:35:08
问题 I'm new to Vagrant and I'm trying out PuPHPet in order to get things up and running. I can get a debian box up and running and ssh into it. It's more the workflow I'm unclear on. At the moment I'm downloading the PuPHPet config into a folder called vagrant which I can cd/ into and run vagrant up then vagrant ssh . What I'm confused about is am I doing it wrong in terms of where I've placed the files. Do you download the set up files on a per project basis, directly into the project directory?

How to use vagrant on multiple projects

限于喜欢 提交于 2019-12-02 05:41:16
I'm new to Vagrant and I'm trying out PuPHPet in order to get things up and running. I can get a debian box up and running and ssh into it. It's more the workflow I'm unclear on. At the moment I'm downloading the PuPHPet config into a folder called vagrant which I can cd/ into and run vagrant up then vagrant ssh . What I'm confused about is am I doing it wrong in terms of where I've placed the files. Do you download the set up files on a per project basis, directly into the project directory? Or do I download this into a directory, for instance C:/sites/vagrant and then this directory runs my

Class 'SimpleXMLElement' not found on puphpet PHP 5.6

主宰稳场 提交于 2019-11-30 06:55:52
问题 I've been stuck at this error for hours now and I can't seem to find anything useful on the internet about it. The error is the classic Fatal error: Class 'SimpleXMLElement' not found in /var/www/NavPHP/nav/plugin/log/NavLog.php on line 29 I'm not using Namespace so that's not the problem. It's a project that works fine in production and used to work in my former computer with WampServer and PHP 5.6.2. Now that I got a new computer, I'm interested in setting up a virtual environment with

Class 'SimpleXMLElement' not found on puphpet PHP 5.6

流过昼夜 提交于 2019-11-28 22:37:36
I've been stuck at this error for hours now and I can't seem to find anything useful on the internet about it. The error is the classic Fatal error: Class 'SimpleXMLElement' not found in /var/www/NavPHP/nav/plugin/log/NavLog.php on line 29 I'm not using Namespace so that's not the problem. It's a project that works fine in production and used to work in my former computer with WampServer and PHP 5.6.2. Now that I got a new computer, I'm interested in setting up a virtual environment with puphpet, but I'm getting this error. According to Docs, the SimpleXMLElement class should come with PHP by