Skip to content

Instantly share code, notes, and snippets.

@matthijskooijman
Last active May 30, 2017 11:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save matthijskooijman/01c8e8218e59b3ef764f27e1266c67fd to your computer and use it in GitHub Desktop.
hostname:
network.system:
- hostname: {{ grains['id'] }}
- require:
- file: patch-salt-network-module
include:
- .patch
patch-salt-network-module:
file.patch:
- name: /usr/lib/python2.7/dist-packages/salt/modules/debian_ip.py
- source: salt://common/patch-salt-network-module.patch
# Unpatched file
# - hash: sha256:e4da3cab76067292ba0e28d3a25b1114ec26fd2524c6da3d3aa6abaaed489d05
# Patched file
- hash: sha256:6c4c0bd5ebf9e488faa63b5b8a7ddc99bcc3abb4a92bfbb93ed205d424ee7528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment