Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnclosingDirectoryDoesNotExist Exception #7

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

barrowkwan
Copy link

template[/opt/local/gauge/share/gauge/gauge.properties] action create
* Parent directory /opt/local/gauge/share/gauge does not exist.
================================================================================
Error executing action create on resource 'template[/opt/local/gauge/share/gauge/gauge.properties]'
================================================================================

       Chef::Exceptions::EnclosingDirectoryDoesNotExist
       ------------------------------------------------
       Parent directory /opt/local/gauge/share/gauge does not exist.
       
       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/gauge/recipes/install_linux.rb
       
        49: template '/opt/local/gauge/share/gauge/gauge.properties' do
        50:   owner 'root'
        51:   group 'root'
        52:   mode  '0644'
        53: end
        54: 
       
       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/gauge/recipes/install_linux.rb:49:in `from_file'
       
       template("/opt/local/gauge/share/gauge/gauge.properties") do
         action [:create]
         retries 0
         retry_delay 2
         default_guard_interpreter :default
         source "gauge.properties.erb"
         declared_type :template
         cookbook_name "gauge"
         recipe_name "install_linux"
         path "/opt/local/gauge/share/gauge/gauge.properties"
         mode "0644"
         owner "root"
         group "root"
       end
       
       Platform:
       ---------
       x86_64-linux

template[/opt/local/gauge/share/gauge/gauge.properties] action create
           * Parent directory /opt/local/gauge/share/gauge does not exist.
           ================================================================================
           Error executing action `create` on resource 'template[/opt/local/gauge/share/gauge/gauge.properties]'
           ================================================================================
           
           Chef::Exceptions::EnclosingDirectoryDoesNotExist
           ------------------------------------------------
           Parent directory /opt/local/gauge/share/gauge does not exist.
           
           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/gauge/recipes/install_linux.rb
           
            49: template '/opt/local/gauge/share/gauge/gauge.properties' do
            50:   owner 'root'
            51:   group 'root'
            52:   mode  '0644'
            53: end
            54: 
           
           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/gauge/recipes/install_linux.rb:49:in `from_file'
           
           template("/opt/local/gauge/share/gauge/gauge.properties") do
             action [:create]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             source "gauge.properties.erb"
             declared_type :template
             cookbook_name "gauge"
             recipe_name "install_linux"
             path "/opt/local/gauge/share/gauge/gauge.properties"
             mode "0644"
             owner "root"
             group "root"
           end
           
           Platform:
           ---------
           x86_64-linux
@ketan
Copy link
Collaborator

ketan commented Jun 26, 2017

Looks good, would you mind bumping the patch version in metadata.rb and updating the CHANGELOG, I can push out a release to supermarket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants