Skip to content

Commit

Permalink
Merge pull request redhat-openstack#290 from jtopjian/fix-pin-conditi…
Browse files Browse the repository at this point in the history
…onal

Fix pin conditional
  • Loading branch information
cmurphy committed Jan 14, 2015
2 parents da9c7a8 + f530a5f commit ac67949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
key_content => $key_content,
}

if $pin {
if $pin != '' {
validate_re($pin, '\d\d\d')
apt::pin { 'rabbitmq':
packages => 'rabbitmq-server',
Expand Down

0 comments on commit ac67949

Please sign in to comment.