Hi,
I am trying to implement the "waveclaw/subscription_manager" module, so that I can automate the registering of my redhat systems with my satellite server.
I have created a satellite.pp file with the following contents:
#
#
#
class profiles::os::linux::distro::redhat::satellite {
subscription_manager: {
server_hostname => 'satellite.mydomain.com',
username => 'myuser',
password => 'mypassword',
autosubscribe => true,
org => 'MyOrg',
environment => 'Library',
}
}
When i try running a puppet agent -t on a properly classified node, I get the following error message:
Info: Retrieving pluginfacts
Notice: /File[/opt/puppetlabs/puppet/cache/facts.d/rhsm_available_repos.yaml]/ensure: removed
Notice: /File[/opt/puppetlabs/puppet/cache/facts.d/rhsm_disabled_repos.yaml]/ensure: removed
Notice: /File[/opt/puppetlabs/puppet/cache/facts.d/rhsm_enabled_repos.yaml]/ensure: removed
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Syntax error at ':' at /etc/puppetlabs/code/environments/dev_puppet/site/profiles/manifests/os/linux/distro/redhat/satellite.pp:5:23 on node puppetclient.mydomain.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
#
So its telling me there's a syntax error at the ':', but that doesn't look right to me, since the colon should go there. Please advise - I can't seem to recover from this error, since it doesn't seem to make sense to me.
- Thanks,
Todd
↧