summaryrefslogtreecommitdiffstats
path: root/examples/modules/sample-module/lib
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-03-25 10:38:40 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-03-25 10:38:40 -0700
commit88aeb04a50d8997b5e1e0ed7a5a2239508b174ee (patch)
tree2ab2be1218ceaf66238db55b78591c61e942e4b1 /examples/modules/sample-module/lib
parent4c320cc482a33892a688d3a5072081e6d63a8310 (diff)
downloadpuppet-88aeb04a50d8997b5e1e0ed7a5a2239508b174ee.tar.gz
puppet-88aeb04a50d8997b5e1e0ed7a5a2239508b174ee.tar.xz
puppet-88aeb04a50d8997b5e1e0ed7a5a2239508b174ee.zip
MAINT: fix the misordered invocations in action.
When initializing we need to set the name and interface before we do anything else, since the reasonable assumption for users is that those invariants are there when their setter is called. This allows someone to override the interface or name by misusing the call to new, but they could already screw up by passing the wrong values, so whatever.
Diffstat (limited to 'examples/modules/sample-module/lib')
0 files changed, 0 insertions, 0 deletions