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

/etc/sysconfig does not exist on Ubuntu 14.04 #63

Closed
wilreichert opened this issue Oct 28, 2014 · 5 comments
Closed

/etc/sysconfig does not exist on Ubuntu 14.04 #63

wilreichert opened this issue Oct 28, 2014 · 5 comments

Comments

@wilreichert
Copy link

latest git gives the following error:

    * template[/etc/sysconfig/consul] action create[2014-10-28T00:50:48+00:00] INFO: Processing template[/etc/sysconfig/consul] action create (consul::_service line 134)

       * Parent directory /etc/sysconfig does not exist.


   ================================================================================
       Error executing action `create` on resource 'template[/etc/sysconfig/consul]'
================================================================================       


       Chef::Exceptions::EnclosingDirectoryDoesNotExist
       ------------------------------------------------
       Parent directory /etc/sysconfig does not exist.


       Resource Declaration:
       ---------------------

   # In /tmp/kitchen/cache/cookbooks/consul/recipes/_service.rb



   134:   template '/etc/sysconfig/consul' do

       135:     source 'consul-sysconfig.erb'
       136:     mode 0755

       137:     notifies :create, 'template[/etc/init.d/consul]', :immediately
       138:   end
@johnbellone
Copy link
Contributor

This should be /etc/default/consul on debian systems.

@lyrixx
Copy link
Contributor

lyrixx commented Oct 28, 2014

Fixed in #65

@wilreichert
Copy link
Author

Symlink doesn't seem quite right. How about something like this instead? #68

@lyrixx
Copy link
Contributor

lyrixx commented Oct 29, 2014

yes, #68 is the best way to handler this one.

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants