Correct the path to disable warning if no valid subscription with Proxmox4

This commit is contained in:
gardouille 2016-04-25 09:24:32 +02:00
parent f958189a09
commit 6becb78b80
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ class proxmox4::hypervisor::config {
# Remove the Subscription message
exec { 'remove_subscription_message':
command => 'rm -f /usr/share/pve-manager/ext4/pvemanagerlib.js.bak; sed -i".bak" -r -e "s/if \(data.status !== \'Active\'\) \{/if (false) {/" /usr/share/pve-manager/ext4/pvemanagerlib.js',
onlyif => 'grep "if (data.status !== \'Active\') {" /usr/share/pve-manager/ext4/pvemanagerlib.js',
command => 'rm -f /usr/share/pve-manager/ext6/pvemanagerlib.js.bak; sed -i".bak" -r -e "s/if \(data.status !== \'Active\'\) \{/if (false) {/" /usr/share/pve-manager/ext6/pvemanagerlib.js',
onlyif => 'grep "if (data.status !== \'Active\') {" /usr/share/pve-manager/ext6/pvemanagerlib.js',
}
}