Skip to content

Commit

Permalink
Porting PR saltstack#51758 to 2019.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgreenaway committed Sep 19, 2019
1 parent 8d4d5ea commit ab9aa60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions salt/grains/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2403,6 +2403,13 @@ def get_machine_id():
return {'machine_id': machineid.read().strip()}


def cwd():
'''
Current working directory
'''
return {'cwd': os.getcwd()}


def path():
'''
Return the path
Expand Down

0 comments on commit ab9aa60

Please sign in to comment.