user password management in Puppet: info: /User[mcfakey]: Provider useradd does not support features manages_passwords; not managing attribute password

0 votes

I am are trying to manage  a users password through puppet:

class user_password {
  user { 'mcfakey':
    ensure   => 'present',
    password => '$1$9VC1vFFa$GHKWgtdODti8eKqkQ7Ruv.',
  }
}

but it displays a message as shown below:

info: /User[mcfakey]: Provider useradd does not support features manages_passwords;
  not managing attribute password
Aug 9 in Puppet by Chitra
33 views

1 answer to this question.

0 votes
  • Ruby language support that puppet needs to manage a users password is missing and so it requires an additional software to be installed to do the needful.

  • If you're running on CentOS / Fedora this can be fixed by installing the ruby-shadowpackage, and on Debian / Ubuntu using libshadow-ruby will fulfill the requirement. 

  • You generally encounter this in gem or source based installs as your package manager should handle this dependency when installing puppet via a package.

  • It's worth noting that the user resource will still be added but the password will not be set to the value you chose.

answered Aug 9 by Sirajul
• 37,930 points

Related Questions In Puppet

0 votes
1 answer

Puppet:How does config management tools support kubernetes?

Container management tools and container orchestration tools ...READ MORE

answered Aug 21 in Puppet by Sirajul
• 37,930 points
18 views
0 votes
1 answer

Puppet+Kubernetes : What all Kubernetes features does puppetlabs/kubernetes module support?

The module currently supports types for kubernetes_pod kubernetes_service kubernetes_replication_controller kubernetes_node kubernetes_event kubernetes_endpoint kubernetes_namespace kubernetes_secret kubernetes_resource_quota kubernetes_limit_range kubernetes_peristent_volume kubernetes_persistent_volume_claim kubernetes_component_status kubernetes_service_account Not all ...READ MORE

answered Aug 21 in Puppet by Sirajul
• 37,930 points
692 views
0 votes
1 answer

Which version of Ruby does puppet support?

Hey @Raj, certain versions of Ruby are ...READ MORE

answered Feb 15 in Puppet by Uma
91 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
214 views
0 votes
1 answer
0 votes
1 answer