summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding Application options to InterfacesLuke Kanies2011-02-231-10/+10
| | | | | | | | | | | | This allows all of the actions to react to the CLI options. I've also removed the unnecessary 'name' variables I was using in various places - they were just the first of the arguments, and they weren't actually always names. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Adding a simple "config" appLuke Kanies2011-02-221-0/+10
| | | | Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Splitting the Application base classLuke Kanies2011-02-222-5/+1
| | | | | | | | | | We now have an indirection_base class along with interface_base. I've also added some basic tests for most of the interfaces. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Switching Interfaces to be instancesLuke Kanies2011-02-2215-53/+68
| | | | | | | | | They were previously classes, which made a lot of things stupider than they needed to be. This will likely involve some porting, but not much. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Fixing Interface listingLuke Kanies2011-02-201-0/+2
| | | | | | It got broke when the Indirector base class was extracted. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* (#2) Should not assume interfaces have indirectorsDan Bode2011-02-2014-26/+108
| | | | | | | | | | | The initial work assumed that all interfaces were just skins on an indirected data type, but some interfaces will be more abstract than that. This commit removes that assumption by extracting all of the indirector work into a new Indirector subclass of Interface and then makes all of the new interfaces a subclass of that rather than of Interface itself.
* Enabling arbitrary interface namesLuke Kanies2011-02-162-4/+7
| | | | | | | | | | | Previously the app, indirection, and interface names had to match exactly; now they can be arbitrary by just defining an overriding 'indirection_name' class method on the interface. I also renamed the file_bucket_file classes accordingly. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Moving 'format' support to the applicationLuke Kanies2011-02-081-0/+2
| | | | | | This allows easier use of the Interfaces in ruby. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Finishing migration from puppet repoLuke Kanies2011-02-082-1/+9
| | | | | | | The whole system seems to work again, as long as you run it against 2.6.next. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
* Moving data executables to their own moduleLuke Kanies2011-01-3013-0/+58
Signed-off-by: Luke Kanies <luke@puppetlabs.com>