Skip to content

Instantly share code, notes, and snippets.

@invalidusrname
Last active April 3, 2019 20:25
Show Gist options
  • Save invalidusrname/5207265 to your computer and use it in GitHub Desktop.
Save invalidusrname/5207265 to your computer and use it in GitHub Desktop.
technekes devbox
Vagrant.configure("2") do |config|
config.vm.define "dev" do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box"
config.vm.hostname = "technekes-dev"
config.vm.network :public_network
config.vm.synced_folder "./apps", "/var/apps"
end
end
@invalidusrname
Copy link
Author

[dev] Enabling and configuring shared folders...
[dev] -- vagrant-root: /Users/mmcmahand/work/technekes/devbox
[dev] -- /var/apps: /Users/mmcmahand/work/technekes/devbox/apps
[dev] -- /var/gems: /Users/mmcmahand/work/technekes/devbox/gems

then I try to run puppet:

Got 1 failure(s) while initializing: change from 501 to puppet failed: Failed to set owner to '103': Operation not permitted - /vagrant/puppet/ssl

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

mmcmahand@Matthews-Mac-mini:~/work/technekes/devbox (master) $ vagrant ssh

vagrant@dev:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        40G  1.8G   36G   5% /
udev            995M  4.0K  995M   1% /dev
tmpfs           400M  232K  400M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            999M     0  999M   0% /run/shm
.host:/         931G   74G  858G   8% /mnt/hgfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment