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

Module doesn't function.... #48

Closed
ghost opened this issue May 8, 2015 · 5 comments
Closed

Module doesn't function.... #48

ghost opened this issue May 8, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented May 8, 2015

Hello:

The error I receive is this:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: can't modify frozen string at /etc/puppetlabs/puppet/environments/development/modules/nfs/manifests/idmap.pp:27

I'm on PE 3.7

Please let me know if I'm not setting something correctly.

Thanks
Joey

@ghoneycutt
Copy link
Owner

What version of stdlib do you have? This seems to be an issue with the is_domain_name() function. How are you calling this class? Just include nfs or calling it directly? Are you calling it with the parameterized class syntax such as class { 'nfs::idmap': } ? If you are using Hiera, could you send me anything related to the nfs module.

@ghoneycutt
Copy link
Owner

What is the output of puppet config print parser ? What is the version of Puppet puppet --version ?

@ghost
Copy link
Author

ghost commented May 8, 2015

Hello Garrett:

I use Roles and Profiles, so this is what I had.

class profile::nfs {
include nfs
class nfs::idmap {
ldap_server => 'our.ldap.server.edu'
ldap_base => 'dc=server,dc=edu'
}

}

class role::new_role {
include profile::nfs

}

stdlib version - Supported Release 4.5.1
puppet config print parser -> outputs -> "current"

puppet --version

3.7.4 (Puppet Enterprise 3.7.2)

Thanks
Joey

@ghoneycutt
Copy link
Owner

I was not able to reproduce. Did notice you have a typo in your code, should be.

  class { 'nfs::idmap':
    ldap_server => 'our.ldap.server.edu',
    ldap_base   => 'dc=server,dc=edu',
  }

What is your osfamily? on EL, the inclusion of the nfs class will automatically include the nfs::idmap class, so if you want to specify ldap_server and ldap_base, then you would specify those values in hiera, such as.

nfs::idmap::ldap_server: 'our.ldap.server.edu'
nfs::idmap::ldap_base: 'dc=server,dc=edu'

@ghoneycutt
Copy link
Owner

Closing issue, please re-open if after using the latest versions this is still an issue.

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

1 participant