<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Merlijn,<br>
    <br>
    I posted an example of the workaround I developed this week while
    rewriting a charm to use the services framework. I am working on a
    fix for the bug, but in the meantime you can use this:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://askubuntu.com/questions/602527/provide-data-doesnt-send-data-when-required-keys-not-satisfied-juju-charm-usin/602629#602629">http://askubuntu.com/questions/602527/provide-data-doesnt-send-data-when-required-keys-not-satisfied-juju-charm-usin/602629#602629</a><br>
    <br>
    Adam<br>
    <br>
    <div class="moz-cite-prefix">On 2015-03-28 5:58 PM, Adam Israel
      wrote:<br>
    </div>
    <blockquote
      cite="mid:2F75446C-60DB-412F-B47A-E976DFE62989@canonical.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div>Hi Merljin,</div>
      <div><br>
      </div>
      <div>It indeed is a bug. I'm working on a fix for that. I just
        landed but I'll post an example workaround tonight, when I get
        home.<br>
        <br>
      </div>
      <div>Adam</div>
      <div><br>
        On Mar 28, 2015, at 4:05 PM, Merlijn Sebrechts <<a
          moz-do-not-send="true"
          href="mailto:merlijn.sebrechts@gmail.com">merlijn.sebrechts@gmail.com</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div dir="ltr">
            <div>I put the question on askubuntu:</div>
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
href="https://askubuntu.com/questions/602527/provide-data-doesnt-send-data-when-required-keys-not-satisfied-juju-charm-usin">https://askubuntu.com/questions/602527/provide-data-doesnt-send-data-when-required-keys-not-satisfied-juju-charm-usin</a><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>tl;dr: You can't seem to use the same relationship
              class for both provided_data and required_data...</div>
            <div><br>
            </div>
            <div>Am I using this completely the wrong way?</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>-- </span><br>
          <span>Juju mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a></span><br>
          <span>Modify settings or unsubscribe at: <a
              moz-do-not-send="true"
              href="https://lists.ubuntu.com/mailman/listinfo/juju">https://lists.ubuntu.com/mailman/listinfo/juju</a></span><br>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>