| a | b | |
|---|
| 0 | + | # xen/manifests/init.pp |
|---|
| 0 | + | |
|---|
| 0 | + | [...] |
|---|
| 0 | + | |
|---|
| 0 | + | class xen::boot { |
|---|
| 0 | + | include grub |
|---|
| 0 | + | exec { "mv /etc/grub.d/10_linux /etc/grub.d/20_linux": |
|---|
| 0 | + | unless => "find /etc/grub.d -name 20_linux", |
|---|
| 0 | + | notify => Class["grub::update"] |
|---|
| 0 | + | } |
|---|
| 0 | + | exec { "mv /etc/grub.d/20_linux_xen /etc/grub.d/10_linux_xen": |
|---|
| 0 | + | unless => "find /etc/grub.d -name 10_linux_xen", |
|---|
| 0 | + | notify => Class["grub::update"] |
|---|
| 0 | + | } |
|---|
| 0 | + | } |
|---|
| 0 | + | |
|---|
| 0 | + | |
|---|
| 0 | + | # grub/manifests/init.pp |
|---|
| 0 | + | |
|---|
| 0 | + | [...] |
|---|
| 0 | + | |
|---|
| 0 | + | class grub::update { |
|---|
| 0 | + | exec { "/usr/sbin/update-grub": |
|---|
| 0 | + | } |
|---|
| 0 | + | } |
|---|
| 0 | + | |
|---|
| 0 | + | # error |
|---|
| 0 | + | |
|---|
| 0 | + | Could not run Puppet configuration client: Could not find dependent Class[Grub::Update] for Exec[mv /etc/grub.d/10_linux /etc/grub.d/20_linux] at /etc/puppet/modules/xen/manifests/init.pp:27 |
|---|
| ... | |
|---|