Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

When I try to invoke CURL i get the following message

$
0
0
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

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>