<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet.git/lib/puppet/indirector/configuration, branch master</title>
<subtitle>Puppet repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/'/>
<entry>
<title>Renaming 'configuration' to 'catalog', fixing #954.</title>
<updated>2007-12-11T21:35:36+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-12-11T21:35:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5'/>
<id>cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding an Indirection reference, along with the work</title>
<updated>2007-12-11T04:50:43+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-12-11T04:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=862d1f7acda853d63ef74343f0f54d761017c9e5'/>
<id>862d1f7acda853d63ef74343f0f54d761017c9e5</id>
<content type='text'>
necessary to support it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
necessary to support it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing #951 -- external nodes work again, but you have to</title>
<updated>2007-12-11T03:13:48+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-12-11T03:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=f127d04934b679b3e5edd7f55d31342abce3c96e'/>
<id>f127d04934b679b3e5edd7f55d31342abce3c96e</id>
<content type='text'>
set the 'node_terminus' setting to 'exec'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set the 'node_terminus' setting to 'exec'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorganizing the file structure for indirection terminus types.</title>
<updated>2007-10-16T00:36:32+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-10-16T00:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=a815f7888b021a46332c23450795f057533d0093'/>
<id>a815f7888b021a46332c23450795f057533d0093</id>
<content type='text'>
Previously, for example, the configuration terminus that was a
subclass of 'code' would have been stored at
lib/puppet/indirector/code/configuration and would have had
to have been named 'configuration'.  Now, the subclass
can be named however the author prefers, and it must be stored
at lib/puppet/indirector/configuration/&lt;name&gt;.rb, where &lt;name&gt;
is the name you've chosen for the terminus type.  The name only
matters insomuch as it is used to load the file from disk and
find the appropriate class when asked.

The additional restriction is that the class constant for the terminus
type must have its name as the last word, and the indirection must
be the second to last word.  Thus, in our example, we can choose
any class constant that ends with Configuration::Code; given that
there's only one Configuration class at this point, it makes the
most sense to define the class as Puppet::Node::Configuration::Code.

This is somewhat awkward, because of the class's location on disk,
but the only other real option is to autogenerate a
Puppet::Indirector::Configuration class constant, which is, I think,
uglier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, for example, the configuration terminus that was a
subclass of 'code' would have been stored at
lib/puppet/indirector/code/configuration and would have had
to have been named 'configuration'.  Now, the subclass
can be named however the author prefers, and it must be stored
at lib/puppet/indirector/configuration/&lt;name&gt;.rb, where &lt;name&gt;
is the name you've chosen for the terminus type.  The name only
matters insomuch as it is used to load the file from disk and
find the appropriate class when asked.

The additional restriction is that the class constant for the terminus
type must have its name as the last word, and the indirection must
be the second to last word.  Thus, in our example, we can choose
any class constant that ends with Configuration::Code; given that
there's only one Configuration class at this point, it makes the
most sense to define the class as Puppet::Node::Configuration::Code.

This is somewhat awkward, because of the class's location on disk,
but the only other real option is to autogenerate a
Puppet::Indirector::Configuration class constant, which is, I think,
uglier.
</pre>
</div>
</content>
</entry>
</feed>
