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:
parent
907a186629
commit
000f371e7d
@ -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
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ class midonet::repository::ubuntu (
|
||||
|
||||
}
|
||||
|
||||
Apt::Source<| |> -> Exec<| command == 'update-midonet-repos' |>
|
||||
Apt::Source<| |> -> Exec<| title == 'update-midonet-repos' |>
|
||||
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user