-
-
Save inthecloud247/4753226 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addr={{ pillar['shoe']['network'].addr }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!py | |
from somewhere import Network | |
def run(): | |
# the grains variable is available inside the run() function. | |
return { | |
'shoe': { | |
'mirror': 'http://apt:3142/archive.ubuntu.com/ubuntu', | |
'network': Network(grains['nodename']), | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment