-
-
Notifications
You must be signed in to change notification settings - Fork 872
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds-feedbackFurther information is requestedFurther information is requested
Description
puppet file:
Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ] }
class {'nginx': }
nginx::resource::vhost { 'static-app':
www_root => '/app',
}
Vagrant: 1.7.2
Puppet: 3.7.4
puppet-nginx(and dependencies): pulled from master branch on github
I am a puppet noob and I'm having a hard time figuring this out.
I am using vagrant with puppet as the provisioner. When I run vagrant up, it goes through the steps but always fails at:
Error: Could not set 'file' on ensure: No such file or directory - /etc/nginx/sites-available/static-app.conf20150420-1811-gd4k2p.lock
From my googling it seems that this error is caused when the parent directory doesn't exist.
a few lines after the error I get this:
==> default: Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]/content: content changed '{md5}f7984934bd6cab883e1f33d5129834bb' to '{md5}c56373a1bb1120304dbba46e017b22a6'
==> default: Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/conf.mail.d]/ensure: created
==> default: Notice: /Stage[main]/Nginx::Config/File[/etc/nginx/sites-enabled]/ensure: created
Looks to me that the vhost is being created before the nginx directory.
am i doing something wrong here?
AnthonyMastrean
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-feedbackFurther information is requestedFurther information is requested