Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When I try to invoke CURL i get the following message

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

When I try to invoke CURL i get the following message

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", https://mdm1-stg.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

click to hide/show revision 3
None

When I try to invoke CURL i get the following message

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-stg.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

click to hide/show revision 4
None

When I try to invoke CURL i get the following message

error

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Serve
    r Server 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 

run

My Manifest

class pwc_testmobility {
$ensure = present
exec{'install app':
command=> "curl -X GET  -k -sS -u user:pass https://mdm1-stg.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

click to hide/show revision 5
None

When I try to invoke CURL i get the following message

error

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Exec[install app] { require => Package[curl] }, b
ecause because 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-stg.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