]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
(#12094) Replace name with path in file resources
authorMatthaus Litteken <matthaus@puppetlabs.com>
Mon, 23 Jan 2012 21:05:59 +0000 (13:05 -0800)
committerMatthaus Litteken <matthaus@puppetlabs.com>
Mon, 23 Jan 2012 21:25:52 +0000 (13:25 -0800)
commit0fb5f78379ef167d30770d14d6fee2b6787eeadd
treee48401924217d6051432ca2dca0de989ec6bb334
parentf04eb5ab71aab98bdd999783ca71244f66145d2c
(#12094) Replace name with path in file resources

When the name is used with a file resource, it becomes difficult to test the
resource using rspec-puppet, as the name parameter gets aliased to path. So to
maintain consistency between tests and manifests, this replaces all name
parameters in file resources with the equivalent path parameter.
manifests/init.pp
manifests/pin.pp
manifests/source.pp