Last active
          April 19, 2016 03:34 
        
      - 
      
- 
        Save marcoceppi/fb911c63eac6a1db5c649a2f96439074 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
    
  
  
    
  | requires: | |
| - 'interface:juju-info' | 
  
    
      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
    
  
  
    
  | requires: | |
| you-knows-it: | |
| interface: juju-info | 
  
    
      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
    
  
  
    
  | from charms.reactive import when, when_not | |
| @when('you-knows-it.available') | |
| def do_stuff(rel): | |
| print(rel.private_address()) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment