repository update relation fix

Before this change, the matching was wrong, as the command that was
defined in the class was the path to the executable, but the title
was that of the class declaration, 'update-midonet-repos'.

Change-Id: I1497e5318e86d96213c4295a6517a77c6a6f5ccb
This commit is contained in:
Antoni Segura Puimedon 2015-12-07 15:49:26 +01:00
parent 907a186629
commit 000f371e7d
2 changed files with 3 additions and 3 deletions

View File

@ -73,8 +73,8 @@ class midonet::repository::centos (
command => '/usr/bin/yum clean all && /usr/bin/yum makecache'
}
Yumrepo<| |> -> Exec<| command == 'update-midonet-repos' |>
Package<| |> -> Exec<| command == 'update-midonet-repos' |>
Yumrepo<| |> -> Exec<| title == 'update-midonet-repos' |>
Package<| |> -> Exec<| title == 'update-midonet-repos' |>
}
else
{

View File

@ -71,7 +71,7 @@ class midonet::repository::ubuntu (
}
Apt::Source<| |> -> Exec<| command == 'update-midonet-repos' |>
Apt::Source<| |> -> Exec<| title == 'update-midonet-repos' |>
}
else