{"action":"closed","issue":{"url":"https://api.github.com/repos/xebialabs/puppet-xldeploy/issues/81","labels_url":"https://api.github.com/repos/xebialabs/puppet-xldeploy/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/xebialabs/puppet-xldeploy/issues/81/comments","events_url":"https://api.github.com/repos/xebialabs/puppet-xldeploy/issues/81/events","html_url":"https://github.com/xebialabs/puppet-xldeploy/issues/81","id":110393342,"number":81,"title":"PE 2015.2 and XL Deploy: Evaluation Error: Error while evaluating a '->' expression","user":{"login":"ltutar","id":7237078,"avatar_url":"https://avatars.githubusercontent.com/u/7237078?v=3","gravatar_id":"","url":"https://api.github.com/users/ltutar","html_url":"https://github.com/ltutar","followers_url":"https://api.github.com/users/ltutar/followers","following_url":"https://api.github.com/users/ltutar/following{/other_user}","gists_url":"https://api.github.com/users/ltutar/gists{/gist_id}","starred_url":"https://api.github.com/users/ltutar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltutar/subscriptions","organizations_url":"https://api.github.com/users/ltutar/orgs","repos_url":"https://api.github.com/users/ltutar/repos","events_url":"https://api.github.com/users/ltutar/events{/privacy}","received_events_url":"https://api.github.com/users/ltutar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T08:03:40Z","updated_at":"2015-10-22T11:14:31Z","closed_at":"2015-10-22T11:14:31Z","body":"I am using Puppet Enterprise 2015.2 and try to install xl-deploy-5.1.0-server. \r\nI got the following error in server.pp:\r\n\r\nInfo: Loading facts\r\nError: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a '->' expression, No title provided and \"class\" is not a valid resource reference at /etc/puppetlabs/code/environments/production/modules/xldeploy/manifests/server.pp:186:5 on node puppetagent1.home\r\n\r\nThe solution was to remove the spaces between \"Class\" and \"[\"\r\nThe code in server.pp is now:\r\n  anchor { 'xldeploy::server::begin': }\r\n    -> Class['xldeploy::shared_prereq']\r\n\r\nSee below to see how I call the class:\r\n\r\n---\r\nxldeploy::server::version: '5.1.0'\r\n\r\nxldeploy::server::admin_password: 'xebia1'\r\nxldeploy::server::rest_user: 'admin'\r\nxldeploy::server::rest_password: 'xebia1'\r\n\r\nxldeploy::server::install_type: 'puppetfiles'\r\nxldeploy::server::custom_download_server_url: 'puppet:///modules/xldeploy/sources/xl-deploy-5.1.0-server.zip'\r\nxldeploy::server::custom_download_cli_url: 'puppet:///modules/xldeploy/sources/xl-deploy-5.1.0-cli.zip'\r\n\r\nxldeploy::server::install_license: true\r\nxldeploy::server::custom_license_source: 'puppet:///modules/xldeploy/license/deployit-license.lic'\r\n\r\nxldeploy::server::manage_keys: false\r\n\r\n"}}