- @iteration = iteration || 1
- @preinstall = preinstall
- @postinstall = postinstall
- @vendor = vendor || "Puppet Labs"
- @dependencies = dependencies || []
+ @revision = configuration[:revision] || 1
+ @preinstall = configuration[:preinstall]
+ @postinstall = configuration[:postinstall]
+ @vendor = configuration[:vendor] || "Puppet Labs"
+ @dependencies = configuration[:dependency] || []