Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Create logpath using the path part of the LOGFILE #138

Merged
merged 1 commit into from

1 participant

@tobami
Owner

Should fix #135

@tobami tobami merged commit f1c119a into from
@tobami tobami deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 littlechef/solo.py
View
4 littlechef/solo.py
@@ -23,7 +23,7 @@
from littlechef import cookbook_paths
from littlechef.lib import credentials
-from littlechef import LOGFILE as logging_path
+from littlechef import LOGFILE
# Path to local patch
@@ -74,6 +74,7 @@ def configure(current_node=None):
error += "Do you have sudo rights?"
abort(error)
# Set up chef solo configuration
+ logging_path = os.path.dirname(LOGFILE)
if not exists(logging_path):
sudo('mkdir -p {0}'.format(logging_path))
if not exists('/etc/chef'):
@@ -318,3 +319,4 @@ def _emerge_install():
"""Install Chef for Gentoo"""
with show('running'):
sudo("USE='-test' ACCEPT_KEYWORDS='~amd64' emerge -u chef")
+
Something went wrong with that request. Please try again.