<div dir="ltr">On Tue, Jan 15, 2013 at 9:25 AM, Silke Meyer <span dir="ltr"><<a href="mailto:silke.meyer@wikimedia.de" target="_blank">silke.meyer@wikimedia.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ryan and all!<br>
<br>
This is still not working for my own files... Could anyone show me how<br>
to do it in an example from the Wikidata puppet files?<br>
<br>
I have a snippet like this. I added the role::wikidata-repo::labs to the<br>
labsconsole interface. I would like to tell puppet in the labsconsole<br>
interface that my database_name should be "blah".<br>
<br>
So far, in my snippet this is hard-coded. What would a syntax look like<br>
that reacts to the variable input field in the labsconsole web interface?<br>
<br>
class role::wikidata-repo::labs {<br> 
<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        class { "wikidata::singlenode":<br>
                install_repo => true,<br>
                install_client => false,<br>
                *database_name* => "repo",<br></blockquote><div><br></div><div>database_name => $wikidata_database_name,<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


                ensure => present,<br>
        }<br>
}<br>
<br></blockquote><div><br></div><div>You'd then add wikidata_database_name as a variable in the puppet group interface, then you'd set the variable via the configure interface in manage instances.<br><br></div><div>

- Ryan<br></div></div></div></div>