Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid resource type accounts::user #55

Closed
lmbeccaria opened this issue Oct 27, 2016 · 1 comment
Closed

Invalid resource type accounts::user #55

lmbeccaria opened this issue Oct 27, 2016 · 1 comment

Comments

@lmbeccaria
Copy link

lmbeccaria commented Oct 27, 2016

I'm getting this error when running "puppet agent t" in the node:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: invalid byte sequence in US-ASCII at /etc/puppet/modules/accounts/manifests/users.pp:13

I have other modules installed but the relevant modules look like this:

deric-accounts (v1.4.0)
deric-gpasswd (v0.2.3)
puppetlabs-stdlib (v4.6.0)

Master: puppet and puppet-server (v3.6.2)
Client: puppet (v3.8.7)

Thanks

@lmbeccaria lmbeccaria changed the title Iresource type accounts::user at /etc/puppet/modules/accounts/manifests/users.pp:13 Invalid resource type accounts::user Oct 27, 2016
@deric
Copy link
Owner

deric commented Oct 28, 2016

That's quite strange. There hasn't been any change on that line. It looks like your puppet master has encoding set to US-ASCII and user.pp is set to UTF-8:

$ file -i manifests/users.pp
manifests/users.pp: text/x-c++; charset=us-ascii
$ file -i manifests/user.pp                    
manifests/user.pp: text/plain; charset=utf-8

@deric deric closed this as completed in a3a5cf6 Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants