Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Serve
r Error: Invalid relationship: Exec[install app] { require => Package[curl] }, b
ecause Package[curl] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Could not retrieve catalog; skipping run
My Manifest
class pwc_testmobility {
$ensure = present
exec{'install app':
command=> "curl -X GET -k -sS -u user:pass https://mdm1-ukstg.pwcinternal.com/api/v2/labels/label_summary?adminDeviceSpaceId=1",
require => [Package['curl']],
path => '/etc/puppetlabs/code/environments/production/modules/mobile/manifests',
}
Am using the common phase, new to puppet and coding, so any help would be appreciated . I am trying to deploy a mobile using API which is done via curl
↧