Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
and an acceptance test
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
hold.pp
diff --git
a/manifests/hold.pp
b/manifests/hold.pp
index c4016c6e34ba609439dbe0d403edbd9abfec2c7a..61e8afcb3b572f4a6998bc9d1b4e9f4d66d50828 100644
(file)
--- a/
manifests/hold.pp
+++ b/
manifests/hold.pp
@@
-40,13
+40,13
@@
define apt::hold(
}
if $ensure == 'present' {
}
if $ensure == 'present' {
- ::apt::pin { "hold
${package} at ${version
}":
+ ::apt::pin { "hold
_${package
}":
packages => $package,
version => $version,
priority => $priority,
}
} else {
packages => $package,
version => $version,
priority => $priority,
}
} else {
- ::apt::pin { "hold
${package} at ${version
}":
+ ::apt::pin { "hold
_${package
}":
ensure => 'absent',
}
}
ensure => 'absent',
}
}